g++ error in Xcode

Hi,

I compiled code and got this:
Command /Developer/usr/bin/g++-4.0 failed with exit code 1

Please help! I added a .cpp file to project, but I dont think its linking it. How can I do this?
Mind reading costs extra. Can you post your makefile or the steps you're using to build?
Yeah, I dont have a makefile. The files I have are:

1
2
3
4
5
6
TheAmazingJourney.xcodeproj
main.cpp
TheAmazingJourney.1
TheAmazingJourney.shell(or exe)
RPGDEFINE.h
Setup.cpp(The new one)

I think that I accidentally had two main()s. Plus, Xcode manually binds them together, without using a makefile.
Last edited on
Sorry I don't know anything about Xcode.
Topic archived. No new replies allowed.