Please help! Xcode beginner!

Discussion in 'Mac Programming' started by doubleS, May 13, 2008.

  1. doubleS macrumors newbie

    Joined:
    May 13, 2008
    #1
    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!!
     
  2. Alloye macrumors 6502a

    Joined:
    Apr 11, 2007
    Location:
    Rocklin, CA
    #2
    It would appear you have two implementations of the function macBundlePath() that are colliding with each other when the program is linked.
     

Share This Page