error: can't exec '....

Discussion in 'Mac Programming' started by Chanda, Nov 10, 2008.

  1. Chanda macrumors newbie

    Joined:
    Nov 10, 2008
    Location:
    Halifax, NS
    #1
    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?
     
  2. gnasher729 macrumors P6

    gnasher729

    Joined:
    Nov 25, 2005
    #2
    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.
     

Share This Page