Can't build with Xcode 2.2
Can't build with Xcode 2.2
- Subject: Can't build with Xcode 2.2
- From: David Dunham <email@hidden>
- Date: Thu, 10 Nov 2005 17:18:07 -0800
I've got code much the same as CodeWarrior has compiled with no
problem in the past (I haven't made a CodeWarrior project for this
because I'm hoping to make it the first Intel build). Essentially, no
matter what I do, gcc can't find some files. (Xcode has no problem --
Open Quickly will open them just fine.)
Here's the command line and output (which shows the Header Search Paths).
CompileC
build/CMJ.build/Debug/Acropolis.build/Objects-normal/i386/CMJCanvas.o
/Users/david/GH/CMJ/CMJCanvas.cpp normal i386 c++
com.apple.compilers.gcc.4_0
cd /Users/david/GH/CMJ
/usr/bin/gcc-4.0 -x c++ -arch i386 -pipe -fno-asm -Wno-trigraphs
-fno-rtti -fpascal-strings -fasm-blocks -gfull -O0 -Wreturn-type
-D_DEBUG -fmessage-length=0 -fvisibility=hidden
-fvisibility-inlines-hidden -Wno-deprecated-declarations
-Wno-invalid-offsetof -mmacosx-version-min=10.2 -iquote
/Users/david/GH/CMJ/build/CMJ.build/Debug/Acropolis.build/CarMJ-D-generated-files.hmap
-I/Users/david/GH/CMJ/build/CMJ.build/Debug/Acropolis.build/CarMJ-D-own-target-headers.hmap
-I/Users/david/GH/CMJ/build/CMJ.build/Debug/Acropolis.build/CarMJ-D-all-target-headers.hmap
-iquote
/Users/david/GH/CMJ/build/CMJ.build/Debug/Acropolis.build/CarMJ-D-project-headers.hmap
-mdynamic-no-pic -F/Users/david/GH/CMJ/build/Debug
-I/Users/david/GH/CMJ/build/Debug/include -I../image -I../libpng
-I../libxml -I../pi -I../sprite -I../system -I../trialkeys -I../zlib
-I.. -I- -I../mac/PowerPlant
-I/Users/david/GH/CMJ/build/CMJ.build/Debug/Acropolis.build/DerivedSources
-isysroot /Developer/SDKs/MacOSX10.4u.sdk -include
/Library/Caches/com.apple.Xcode.501/SharedPrecompiledHeaders/CMJPrefix-ansjbcxgnlruguheusrnbxsvlbef/CMJPrefix.h
-c /Users/david/GH/CMJ/CMJCanvas.cpp -o
/Users/david/GH/CMJ/build/CMJ.build/Debug/Acropolis.build/Objects-normal/i386/CMJCanvas.o
cc1plus: note: obsolete option -I- used, please use -iquote instead
In file included from /Users/david/GH/CMJ/HighScoresDialog.h:18,
from /Users/david/GH/CMJ/CMJCanvas.cpp:24:
../libxml/parser.h:12:25: error: libxml/tree.h: No such file or directory
../libxml/parser.h:13:26: error: libxml/valid.h: No such file or directory
../libxml/parser.h:14:26: error: libxml/xmlIO.h: No such file or directory
../libxml/parser.h:15:29: error: libxml/entities.h: No such file or directory
The code lines in question (in libxml/parser.h) are
#include <libxml/tree.h>
#include <libxml/valid.h>
#include <libxml/xmlIO.h>
#include <libxml/entities.h>
and they are included by
#include "libxml/parser.h"
I might be able to get this to work by modifying libxml, but I don't
think I should have to (and worry about maintainability).
So how can I get Xcode to compile a project that CodeWarrior would?
Do I need to do something with header maps?
--
David Dunham A Sharp, LLC
Voice/Fax: 206 783 7404 http://a-sharp.com
Efficiency is intelligent laziness.
_______________________________________________
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