Re: Qt Project compile errors in XCode
Re: Qt Project compile errors in XCode
- Subject: Re: Qt Project compile errors in XCode
- From: Michael Rice <email@hidden>
- Date: Tue, 27 Nov 2007 22:03:35 -0600
The problem is that Xcode is using a bad path to the compiler - /usr/
include/c++ is a directory, not an executable, which is why you get
the 'can't exec' error.
I've seen this before, but I can't recall what the exact problem was.
However, I do seem to recall that it was a problem with my .pro file
that was used to generate the Xcode project. Can you post your .pro
file (and any relevant .pri files) or email it to me?
On a positive note, I'm using Qt 4.3.2 on Leopard with Xcode 3 without
any problems, so there is hope.
Michael
On Nov 27, 2007, at 9:23 PM, David Morris wrote:
I'm using Qt 4.3.2 with the latest version of XCode on OS/X 10.5.1,
and I'm trying to compile a project in XCode that I have been
compiling from the command line until now. I receive the following
errors when I try to compile any of the code in my project:
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)[/CODE]
the main issue there is this:
error: can't exec '/usr/include/c++' (Permission denied)
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 on the internet. Any
help would be greatly appreciated, thanks,
dave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden