xcodebuild

Joined
Feb 3, 2011
Messages
2
Reaction score
0
Points
1
For some reason I can build my project using the XCode GUI, but it fails when I try to do it from the command line:

xcodebuild -target squirrel_counter ARCHS=ppc

This seems strange to me since they appear to be using the same project file.

I can find the reference in squirrel_counter.xcodeproj/project.pbxproj.

If I copy the command line xcode build g++ command and manually add the include path ("-include /usr/local/mysql/include") it finds the header files.

Any tips?
 
OP
D
Joined
Feb 3, 2011
Messages
2
Reaction score
0
Points
1
workaround

I wrote a work around in Qt.

I can manually add the INCLUDEPATH to see where everything is pointing.

And now my code is cross-platform.

Or at least it soon will be when I take the carbon stuff out.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top