Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] project error after migration from eclipse kepler to neon

I made some checks.

This problem is very strange .

I have many projects in the workspace, some of them are depending on this one.

if I load only a  standalone project in my workspace the problem disappears....

Regards,

S.Ancelot



Le 31/08/2017 à 14:03, Stéphane Ancelot a écrit :
Hi,

After migration from eclipse kepler to eclipse neon, some of my projects are emitting the following message .

And I don't know how to solve this issue.


Errors occurred during the build.
Errors running builder 'CDT Builder' on project 'API_SIMULATION'.
Internal error building project API_SIMULATION configuration Release
org.eclipse.cdt.managedbuilder.internal.core.ResourceConfiguration cannot be cast to org.eclipse.cdt.managedbuilder.core.IToolChain
Internal error building project API_SIMULATION configuration Release
org.eclipse.cdt.managedbuilder.internal.core.ResourceConfiguration cannot be cast to org.eclipse.cdt.managedbuilder.core.IToolChain

.cproject file content is here :

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?fileVersion 4.0.0?>

<cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
    <storageModule moduleId="org.eclipse.cdt.core.settings">
        <cconfiguration id="cdt.managedbuild.config.gnu.exe.release.1128560856">             <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.config.gnu.exe.release.1128560856" moduleId="org.eclipse.cdt.core.settings" name="Release">
                <externalSettings>
                    <externalSetting>
                        <entry flags="VALUE_WORKSPACE_PATH" kind="includePath" name="/API_SIMULATION"/>                         <entry flags="VALUE_WORKSPACE_PATH" kind="libraryPath" name="/API_SIMULATION/Release"/>
                    </externalSetting>
                </externalSettings>
                <extensions>
                    <extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>                     <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.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>                     <extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
                </extensions>
            </storageModule>
            <storageModule moduleId="cdtBuildSystem" version="4.0.0">
                <configuration artifactExtension="a" artifactName="API_SIMULATION" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.staticLib" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.release,org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.staticLib" cleanCommand="rm -rf" description="" id="cdt.managedbuild.config.gnu.exe.release.1128560856" name="Release" parent="cdt.managedbuild.config.gnu.exe.release">                     <folderInfo id="cdt.managedbuild.config.gnu.exe.release.1128560856." name="/" resourcePath="">                         <toolChain id="cdt.managedbuild.toolchain.gnu.exe.release.1329667272" name="Linux GCC" superClass="cdt.managedbuild.toolchain.gnu.exe.release">                             <targetPlatform id="cdt.managedbuild.target.gnu.platform.exe.release.1353879395" name="Debug Platform" superClass="cdt.managedbuild.target.gnu.platform.exe.release"/>                             <builder buildPath="${workspace_loc:/API_SIMULATION/Release}" enableAutoBuild="true" id="cdt.managedbuild.target.gnu.builder.exe.release.1137823762" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" parallelBuildOn="true" parallelizationNumber="-4" superClass="cdt.managedbuild.target.gnu.builder.exe.release"/>                             <tool id="cdt.managedbuild.tool.gnu.archiver.base.203829719" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.base"/>                             <tool commandLinePattern="${COMMAND} -m32 ${FLAGS} ${OUTPUT_FLAG}${OUTPUT_PREFIX}${OUTPUT} ${INPUTS} `pkg-config --cflags  --libs ftgl`" id="cdt.managedbuild.tool.gnu.cpp.compiler.exe.release.1614395396" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.exe.release">                                 <option id="gnu.cpp.compiler.exe.release.option.optimization.level.241079787" name="Optimization Level" superClass="gnu.cpp.compiler.exe.release.option.optimization.level" value="gnu.cpp.compiler.optimization.level.most" valueType="enumerated"/>                                 <option id="gnu.cpp.compiler.exe.release.option.debugging.level.617346297" name="Debug Level" superClass="gnu.cpp.compiler.exe.release.option.debugging.level" value="gnu.cpp.compiler.debugging.level.none" valueType="enumerated"/>                                 <option id="gnu.cpp.compiler.option.include.paths.1946835707" name="Include paths (-I)" superClass="gnu.cpp.compiler.option.include.paths" valueType="includePath">                                     <listOptionValue builtIn="false" value="&quot;${workspace_loc:/INCLUDE_COMMUN}&quot;"/>                                     <listOptionValue builtIn="false" value="&quot;${workspace_loc:/INCLUDE_MACHINE}&quot;"/>                                     <listOptionValue builtIn="false" value="&quot;${workspace_loc:/API_SIMULATION/include}&quot;"/>                                     <listOptionValue builtIn="false" value="&quot;${workspace_loc:/API_SIMULATION/GLE}&quot;"/>                                     <listOptionValue builtIn="false" value="/usr/include/FreeSOLID"/>
                                </option>
                                <inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.1596402354" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>
                            </tool>
                            <tool commandLinePattern="${COMMAND} -m32 ${FLAGS} ${OUTPUT_FLAG}${OUTPUT_PREFIX}${OUTPUT} ${INPUTS}" id="cdt.managedbuild.tool.gnu.c.compiler.exe.release.1393396881" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.exe.release">                                 <option defaultValue="gnu.c.optimization.level.most" id="gnu.c.compiler.exe.release.option.optimization.level.2146036760" name="Optimization Level" superClass="gnu.c.compiler.exe.release.option.optimization.level" valueType="enumerated"/>                                 <option id="gnu.c.compiler.exe.release.option.debugging.level.1398855155" name="Debug Level" superClass="gnu.c.compiler.exe.release.option.debugging.level" value="gnu.c.debugging.level.none" valueType="enumerated"/>                                 <inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.183081409" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
                            </tool>
                            <tool id="cdt.managedbuild.tool.gnu.c.linker.exe.release.1832485649" name="GCC C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.exe.release"/>                             <tool id="cdt.managedbuild.tool.gnu.cpp.linker.exe.release.2116065353" name="GCC C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.exe.release">                                 <inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.514850913" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input">                                     <additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>                                     <additionalInput kind="additionalinput" paths="$(LIBS)"/>
                                </inputType>
                            </tool>
                            <tool id="cdt.managedbuild.tool.gnu.assembler.exe.release.1063110625" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.exe.release">                                 <inputType id="cdt.managedbuild.tool.gnu.assembler.input.150741594" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
                            </tool>
                        </toolChain>
                    </folderInfo>
                    <sourceEntries>
                        <entry excluding="GLE|include|src" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>                         <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="GLE"/>                         <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="include"/>                         <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="src"/>
                    </sourceEntries>
                </configuration>
            </storageModule>
            <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>             <storageModule moduleId="org.eclipse.cdt.core.language.mapping"/>             <storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>
        </cconfiguration>
        <cconfiguration id="cdt.managedbuild.config.gnu.exe.release.1128560856.1078613090">             <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.config.gnu.exe.release.1128560856.1078613090" moduleId="org.eclipse.cdt.core.settings" name="win32">
                <externalSettings>
                    <externalSetting>
                        <entry flags="VALUE_WORKSPACE_PATH" kind="includePath" name="/API_SIMULATION"/>                         <entry flags="VALUE_WORKSPACE_PATH" kind="libraryPath" name="/API_SIMULATION/Release"/>                         <entry flags="VALUE_WORKSPACE_PATH" kind="libraryPath" name="/API_SIMULATION/win32"/>                         <entry flags="RESOLVED" kind="libraryFile" name="API_SIMULATION" srcPrefixMapping="" srcRootPath=""/>
                    </externalSetting>
                </externalSettings>
                <extensions>
                    <extension id="org.eclipse.cdt.core.PE" point="org.eclipse.cdt.core.BinaryParser"/>                     <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.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>                     <extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
                </extensions>
            </storageModule>
            <storageModule moduleId="cdtBuildSystem" version="4.0.0">
                <configuration artifactExtension="a" artifactName="API_SIMULATION" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.staticLib" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.release,org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.staticLib" cleanCommand="rm -rf" description="" errorParsers="org.eclipse.cdt.core.GmakeErrorParser;org.eclipse.cdt.core.CWDLocator;org.eclipse.cdt.core.GCCErrorParser;org.eclipse.cdt.core.GASErrorParser" id="cdt.managedbuild.config.gnu.exe.release.1128560856.1078613090" name="win32" parent="cdt.managedbuild.config.gnu.exe.release" postannouncebuildStep="" postbuildStep="" preannouncebuildStep="" prebuildStep="">                     <folderInfo id="cdt.managedbuild.config.gnu.exe.release.1128560856.1078613090." name="/" resourcePath="">                         <toolChain errorParsers="" id="cdt.managedbuild.toolchain.gnu.i586mingw.base.1540110388" name="Linux i586 MingW" superClass="cdt.managedbuild.toolchain.gnu.i586mingw.base">                             <targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.PE" id="cdt.managedbuild.target.gnu.platform.i586mingw.base.1867285975" name="win32 Debug Platform" osList="linux" superClass="cdt.managedbuild.target.gnu.platform.i586mingw.base"/>                             <builder buildPath="${workspace_loc:/API_SIMULATION/win32}" enableAutoBuild="true" errorParsers="org.eclipse.cdt.core.GmakeErrorParser;org.eclipse.cdt.core.CWDLocator" id="cdt.managedbuild.tool.gnu.builder.i586mingw.base.1376162725" keepEnvironmentInBuildfile="false" name="Gnu Make Builder" parallelBuildOn="true" parallelizationNumber="-1" superClass="cdt.managedbuild.tool.gnu.builder.i586mingw.base"/>                             <tool command="i586-mingw32msvc-as" commandLinePattern="${COMMAND} ${FLAGS} ${OUTPUT_FLAG}${OUTPUT_PREFIX}${OUTPUT} ${INPUTS} " errorParsers="org.eclipse.cdt.core.GASErrorParser" id="cdt.managedbuild.tool.gnu.assembler.i586mingw.base.1996291691" name="Ubuntu i586 MinGW Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.i586mingw.base">                                 <inputType id="cdt.managedbuild.tool.gnu.assembler.input.394612506" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
                            </tool>
                            <tool command="i586-mingw32msvc-ar" commandLinePattern="${COMMAND} ${FLAGS} ${OUTPUT_FLAG}${OUTPUT_PREFIX}${OUTPUT} ${INPUTS}" errorParsers="" id="cdt.managedbuild.tool.gnu.archiver.i586mingw.base.1353521241" name="Ubuntu i586 MinGW Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.i586mingw.base"/>                             <tool command="i586-mingw32msvc-g++" commandLinePattern="${COMMAND} ${FLAGS} ${OUTPUT_FLAG}${OUTPUT_PREFIX}${OUTPUT} ${INPUTS}" errorParsers="org.eclipse.cdt.core.GCCErrorParser" id="cdt.managedbuild.tool.gnu.cpp.compiler.i586mingw.base.450971160" name="Ubuntu i586 MinGW C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.i586mingw.base">                                 <option id="gnu.cpp.compiler.option.include.paths.1273740284" name="Include paths (-I)" superClass="gnu.cpp.compiler.option.include.paths" valueType="includePath">                                     <listOptionValue builtIn="false" value="&quot;${workspace_loc:/INCLUDE_COMMUN}&quot;"/>                                     <listOptionValue builtIn="false" value="&quot;${workspace_loc:/WIN32DEPS/freetype-dev_2.4.2-1/include/freetype2}&quot;"/>                                     <listOptionValue builtIn="false" value="&quot;${workspace_loc:/WIN32DEPS/freetype-dev_2.4.2-1/include}&quot;"/>                                     <listOptionValue builtIn="false" value="&quot;${workspace_loc:/WIN32DEPS/ftgl-binary/include}&quot;"/>                                     <listOptionValue builtIn="false" value="&quot;${workspace_loc:/WIN32DEPS/libpng-1.2.37-lib/include}&quot;"/>                                     <listOptionValue builtIn="false" value="&quot;${workspace_loc:/WIN32DEPS/zlib-1.2.3-lib/include}&quot;"/>                                     <listOptionValue builtIn="false" value="&quot;${workspace_loc:/API_SIMULATION/include}&quot;"/>                                     <listOptionValue builtIn="false" value="&quot;${workspace_loc:/WIN32DEPS/FREESOLID/include/FreeSOLID}&quot;"/>                                     <listOptionValue builtIn="false" value="&quot;${workspace_loc:/INCLUDE_MACHINE}&quot;"/>                                     <listOptionValue builtIn="false" value="&quot;${workspace_loc:/API_SIMULATION/GLE}&quot;"/>
                                </option>
                                <option id="gnu.cpp.compiler.option.optimization.level.1783011397" name="Optimization Level" superClass="gnu.cpp.compiler.option.optimization.level" value="gnu.cpp.compiler.optimization.level.most" valueType="enumerated"/>                                 <option id="gnu.cpp.compiler.option.debugging.level.1775457637" name="Debug Level" superClass="gnu.cpp.compiler.option.debugging.level" value="gnu.cpp.compiler.debugging.level.none" valueType="enumerated"/>                                 <option id="gnu.cpp.compiler.option.other.other.1241443307" name="Other flags" superClass="gnu.cpp.compiler.option.other.other" value="-c -fmessage-length=0 -I${workspace_loc}/WIN32DEPS/zlib-1.2.3-lib/include -I${workspace_loc}/WIN32DEPS/libpng-1.2.37-lib/include -I${workspace_loc}/WIN32DEPS/freetype-dev_2.4.2-1/include -I${workspace_loc}/WIN32DEPS/freetype-dev_2.4.2-1/include/freetype2 -I${workspace_loc}/WIN32DEPS/FREESOLID/include/FreeSOLID -I${workspace_loc}/WIN32DEPS/ftgl-binary/include" valueType="string"/>                                 <inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.1634230549" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>
                            </tool>
                            <tool command="i586-mingw32msvc-gcc" commandLinePattern="${COMMAND} ${FLAGS} ${OUTPUT_FLAG}${OUTPUT_PREFIX}${OUTPUT} ${INPUTS}" errorParsers="org.eclipse.cdt.core.GCCErrorParser" id="cdt.managedbuild.tool.gnu.c.compiler.i586mingw.base.731184225" name="Ubuntu i586 MinGW C compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.i586mingw.base">                                 <option defaultValue="gnu.c.optimization.level.most" id="gnu.c.compiler.option.optimization.level.142501368" name="Optimization Level" superClass="gnu.c.compiler.option.optimization.level" valueType="enumerated"/>                                 <option id="gnu.c.compiler.option.debugging.level.478632329" name="Debug Level" superClass="gnu.c.compiler.option.debugging.level" value="gnu.c.debugging.level.none" valueType="enumerated"/>                                 <inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.1967575102" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
                            </tool>
                            <tool id="cdt.managedbuild.tool.gnu.c.linker.i586mingw.base.1191057494" name="Ubuntu i586 MinGW C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.i586mingw.base"/>                             <tool id="cdt.managedbuild.tool.gnu.cpp.linker.i586mingw.base.563093838" name="Ubuntu i586 MinGW C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.i586mingw.base"/>
                        </toolChain>
                    </folderInfo>
                    <sourceEntries>
                        <entry excluding="GLE|include|src" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>                         <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="GLE"/>                         <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="include"/>                         <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="src"/>
                    </sourceEntries>
                </configuration>
            </storageModule>
            <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>             <storageModule moduleId="org.eclipse.cdt.core.language.mapping"/>             <storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>
        </cconfiguration>
    </storageModule>
    <storageModule moduleId="cdtBuildSystem" version="4.0.0">
        <project id="API_SIMULATION.cdt.managedbuild.target.gnu.exe.1765333099" name="Executable" projectType="cdt.managedbuild.target.gnu.exe"/>
    </storageModule>
    <storageModule moduleId="scannerConfiguration"/>
    <storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
</cproject>


Regards

S.Ancelot
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top