I just recently got my Qt project set up with XCode, and I get the following errors when I try to compile any of the code:
Building target “dlflcore†of project “dlflcore†with configuration “Release†— (2 errors)
cd /Users/dvmorris/topmod2/topmodx/include/dlflcore
/usr/include/c++ -x c++ -arch i386 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -fmessage-length=0 -I/Users/dvmorris/topmod2/topmodx/include/dlflcore/build/dlflcore.build/Release/dlflcore.build/dlflcore.hmap -F/Users/dvmorris/topmod2/topmodx/include/dlflcore/build/Release -I/Users/dvmorris/topmod2/topmodx/include/dlflcore/build/Release/include -I.. -I../vecmat -I. -I/usr/local/Trolltech/Qt-4.3.2/mkspecs/macx-g++ -I/Users/dvmorris/topmod2/topmodx/include/dlflcore/build/dlflcore.build/Release/dlflcore.build/DerivedSources -pipe -g -arch ppc -arch i386 -w -fPIC -c /Users/dvmorris/topmod2/topmodx/include/dlflcore/DLFLCommon.cc -o /Users/dvmorris/topmod2/topmodx/include/dlflcore/build/dlflcore.build/Release/dlflcore.build/Objects-normal/i386/DLFLCommon.o
error: can't exec '/usr/include/c++' (Permission denied)
error: can't exec '/usr/include/c++' (Permission denied)
cd /Users/dvmorris/topmod2/topmodx/include/dlflcore
/usr/include/c++ -x c++ -arch i386 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -fmessage-length=0 -I/Users/dvmorris/topmod2/topmodx/include/dlflcore/build/dlflcore.build/Release/dlflcore.build/dlflcore.hmap -F/Users/dvmorris/topmod2/topmodx/include/dlflcore/build/Release -I/Users/dvmorris/topmod2/topmodx/include/dlflcore/build/Release/include -I.. -I../vecmat -I. -I/usr/local/Trolltech/Qt-4.3.2/mkspecs/macx-g++ -I/Users/dvmorris/topmod2/topmodx/include/dlflcore/build/dlflcore.build/Release/dlflcore.build/DerivedSources -pipe -g -arch ppc -arch i386 -w -fPIC -c /Users/dvmorris/topmod2/topmodx/include/dlflcore/DLFLCore.cc -o /Users/dvmorris/topmod2/topmodx/include/dlflcore/build/dlflcore.build/Release/dlflcore.build/Objects-normal/i386/DLFLCore.o
error: can't exec '/usr/include/c++' (Permission denied)
error: can't exec '/usr/include/c++' (Permission denied)
Build failed (2 errors)
Building target “dlflcore†of project “dlflcore†with configuration “Release†— (2 errors)
cd /Users/dvmorris/topmod2/topmodx/include/dlflcore
/usr/include/c++ -x c++ -arch i386 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -fmessage-length=0 -I/Users/dvmorris/topmod2/topmodx/include/dlflcore/build/dlflcore.build/Release/dlflcore.build/dlflcore.hmap -F/Users/dvmorris/topmod2/topmodx/include/dlflcore/build/Release -I/Users/dvmorris/topmod2/topmodx/include/dlflcore/build/Release/include -I.. -I../vecmat -I. -I/usr/local/Trolltech/Qt-4.3.2/mkspecs/macx-g++ -I/Users/dvmorris/topmod2/topmodx/include/dlflcore/build/dlflcore.build/Release/dlflcore.build/DerivedSources -pipe -g -arch ppc -arch i386 -w -fPIC -c /Users/dvmorris/topmod2/topmodx/include/dlflcore/DLFLCommon.cc -o /Users/dvmorris/topmod2/topmodx/include/dlflcore/build/dlflcore.build/Release/dlflcore.build/Objects-normal/i386/DLFLCommon.o
error: can't exec '/usr/include/c++' (Permission denied)
error: can't exec '/usr/include/c++' (Permission denied)
cd /Users/dvmorris/topmod2/topmodx/include/dlflcore
/usr/include/c++ -x c++ -arch i386 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -fmessage-length=0 -I/Users/dvmorris/topmod2/topmodx/include/dlflcore/build/dlflcore.build/Release/dlflcore.build/dlflcore.hmap -F/Users/dvmorris/topmod2/topmodx/include/dlflcore/build/Release -I/Users/dvmorris/topmod2/topmodx/include/dlflcore/build/Release/include -I.. -I../vecmat -I. -I/usr/local/Trolltech/Qt-4.3.2/mkspecs/macx-g++ -I/Users/dvmorris/topmod2/topmodx/include/dlflcore/build/dlflcore.build/Release/dlflcore.build/DerivedSources -pipe -g -arch ppc -arch i386 -w -fPIC -c /Users/dvmorris/topmod2/topmodx/include/dlflcore/DLFLCore.cc -o /Users/dvmorris/topmod2/topmodx/include/dlflcore/build/dlflcore.build/Release/dlflcore.build/Objects-normal/i386/DLFLCore.o
error: can't exec '/usr/include/c++' (Permission denied)
error: can't exec '/usr/include/c++' (Permission denied)
Build failed (2 errors)
To copy to clipboard, switch view to plain text mode
the main issue there is this:
error: can't exec '/usr/include/c++' (Permission denied)
error: can't exec '/usr/include/c++' (Permission denied)
To copy to clipboard, switch view to plain text mode
I have no idea what this means or how to go about fixing it, and I can't seem to find any documentation about it or support through an xcode forum. Any help would be greatly appreciated, thanks,
dave
Bookmarks