PDA

View Full Version : Please help! Xcode beginner!




doubleS
May 14, 2008, 12:31 AM
ok so recently when compiling an application using the OGRE 3d graphics engine i got this exit code form the gcc compiler:

duplicate symbol macBundlePath()
in /Users/DoubleS/Xcode_Projects/ogreTutorial/build/ogreTutorial.build/Release/ogreTutorial.build/Objects-normal/i386/macBundlePath.o and /Users/DoubleS/Xcode_Projects/ogreTutorial/build/ogreTutorial.build/Release/ogreTutorial.build/Objects-normal/i386/main.o

Command /Developer/usr/bin/g++-4.0 failed with exit code 1

OK so even if I don't know what that exit code is, i thought i could figure out the "duplicate" issue, but I have no clue about what it's talking about. I used to wrk in Visual Studio and Xcode is super different. Please help!!



Alloye
May 14, 2008, 02:34 AM
duplicate symbol macBundlePath()

It would appear you have two implementations of the function macBundlePath() that are colliding with each other when the program is linked.