Build Error "two resources of the same name"

Topics for the Eclipse Environment
Post Reply
barttech
Posts: 135
Joined: Fri Feb 20, 2009 12:59 pm

Build Error "two resources of the same name"

Post by barttech »

I've somehow scrambled things up with my tools, so that when I try to clean a project, I get:

**** Rebuild of configuration Release for project 41557 ****
**** Internal Builder is used for build ****
Build error
Generated resource conflict:
two resources of the same name: /41557/Release/41557.s19
generated by different tools
tool1: GNU ELF Objcopy
tool2: NetBurner Compcode

I've gone to the ToolChain setting and it shows both of these tools, but (unless I click "Allow All Changes") it doesn't allow me to remove ObjCopy. If I override and remove ObjCopy it will seem to clean, but it won't compile when I make changes to the source code: "Nothing to Build". I've tried deleting 41557.s19 but it still complains, but doesn't create a new one.

Some history:
I'm trying to get the eTPU QD functionality to work. I was getting compiler errors after changing to set3.h from NN_ETPU_sets.h in EPTUInit.cpp, so I set it back and restored all the original files and still had a similar problem. So I tried setting all the settings to their defaults, didn't help, then I tried re-installing Rel24_rc2. I'm no longer sure just when this particular "two resources" error cropped up, but I can't get it to go away and I can't move on. Any suggestions?
Sam
rnixon
Posts: 833
Joined: Thu Apr 24, 2008 3:59 pm

Re: Build Error "two resources of the same name"

Post by rnixon »

Bad things will happen in any project manager when you copy non-source files around. What happens if you create a new, empty project, then import only your source code files: .cpp, .h, html. ?
barttech
Posts: 135
Joined: Fri Feb 20, 2009 12:59 pm

Re: Build Error "two resources of the same name"

Post by barttech »

If I do that the problem goes away! Thanks. Now to try to get QD eTPU stuff working w/o trashing my project again.
Sam
Post Reply