Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Chanda

macrumors newbie
Original poster
Nov 10, 2008
12
0
Halifax, NS
I'm new to programming, currently taking an entry level C++ course and wanted to try Xcode (rather than using a PC for C++). I have an error and a warning when I build: 'error: can't exec '/Developer/usr/bin/g++-4.0 (No such file or directory) and 'warning: couldn't move '/Users/Chanda/Documents/A8/build/A8.build/Debug/A8.build/Objects-normal/i386/main.o~$' to '/Users/Chanda/Documents/A8/build/A8.build/Debug/A8.build/Objects-normal/i386/main.o': No such file or directory'

Any ideas on how I can fix this?
 
I'm new to programming, currently taking an entry level C++ course and wanted to try Xcode (rather than using a PC for C++). I have an error and a warning when I build: 'error: can't exec '/Developer/usr/bin/g++-4.0 (No such file or directory) and 'warning: couldn't move '/Users/Chanda/Documents/A8/build/A8.build/Debug/A8.build/Objects-normal/i386/main.o~$' to '/Users/Chanda/Documents/A8/build/A8.build/Debug/A8.build/Objects-normal/i386/main.o': No such file or directory'

Any ideas on how I can fix this?

Seems your compiler is nowhere to be found, and as a result, it didn't compile your main.cpp file. I would recommend downloading and installing the latest version of XCode, and then not messing around with it.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.