Please help! Xcode beginner!

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

  1. doubleS macrumors newbie

    May 13, 2008
    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/ and /Users/DoubleS/Xcode_Projects/ogreTutorial/build/

    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

    Apr 11, 2007
    Rocklin, CA
    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