hi everyone
I new in this forum and I have a problem to compile two same sources in differents folders in eclipse cdt. The console shows me that :
**** Build of configuration Debug for project TEST ****
**** Internal Builder is used for build ****
Build error
Generated resource conflict:
two resources of the same name: /{Name_project}/{Name_Buildconf}/{Name_folder}/{Name_file}.o
generated by different tools
tool1: GCC C Compiler
tool2: GCC C Compiler
I would like to know if I can force the compiler to compile the file, even if it has in double.
I too an having the same problem.
I deleted both files and it still shows conflicts
Errors occurred during the build.
Errors running builder 'CDT Builder' on project 'test'.
Internal error building project test configuration Debug
Generated resource conflict:
two resources of the same name: /test/Debug/.metadata/.plugins/org.eclipse.cdt.make.core/specs.o
generated by different tools
tool1: GCC C++ Compiler
tool2: GCC C Compiler
It appears to be a conflict in package resources requiring different compiler configurations for the particular routines and libraries. I have found many eclipse packaged libraries that were not compatible in any way with each other. I would suggest removing any unnecessary packages and keep your source related to a single package.
I never found a working resolution to the original problem. But I did try it on a separate virgin machine with no other development kits installed and only selected the required package necessary for the particular source I was working with. I was able to build the source without error until I tried to import other eclipse libraries required for added extensions to the original source. Then the same errors came back.
I have since given up on the compatibility issues with eclipse packages and gone back to reverse engineering and using command line compilers. The idea of eclipse shared libraries is a good idea, but there is no conformity from the contributors allowing for mixed libraries. You would have to completely rewrite the libraries before you can merge them into the sources.