error: can't exec '....

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

  1. Chanda macrumors newbie

    Nov 10, 2008
    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/$' to '/Users/Chanda/Documents/A8/build/': No such file or directory'

    Any ideas on how I can fix this?
  2. gnasher729 macrumors P6


    Nov 25, 2005
    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