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:
Qt Code:
  1. Building target “dlflcore” of project “dlflcore” with configuration “Release” — (2 errors)
  2. cd /Users/dvmorris/topmod2/topmodx/include/dlflcore
  3. /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
  4. error: can't exec '/usr/include/c++' (Permission denied)
  5. error: can't exec '/usr/include/c++' (Permission denied)
  6. cd /Users/dvmorris/topmod2/topmodx/include/dlflcore
  7. /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
  8. error: can't exec '/usr/include/c++' (Permission denied)
  9. error: can't exec '/usr/include/c++' (Permission denied)
  10. Build failed (2 errors)
To copy to clipboard, switch view to plain text mode 

the main issue there is this:
Qt Code:
  1. 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