Eclipse下报错 An internal error occurred during: "C/C++ Indexer". java.lang.NullPointerException

来源:互联网 发布:爱淘宝红包不中 编辑:程序博客网 时间:2024/05/01 01:06

Eclipse下编译so文件的时候
错误为
An internal error occurred during: “C/C++ Indexer”. java.lang.NullPointerException

解决方法:
删除.cproject文件中以下内容:

        <cconfiguration id="0.1230402123.1377291156">            <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="0.1230402123.1377291156" moduleId="org.eclipse.cdt.core.settings" name="Debug">                <externalSettings/>                <extensions>                    <extension id="org.eclipse.cdt.core.VCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>                    <extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>                    <extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>                    <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>                    <extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>                    <extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>                </extensions>            </storageModule>            <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>        </cconfiguration>
0 0
原创粉丝点击