You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Don Willems <do...@mac.com> on 2003/10/30 16:17:34 UTC
Build errors Mac OS X Panther
Hi,
To build Xerces-C on Mac OS X Panther I used the included
ProjectBuilder project. I imported the project in XCode and in the last
version of ProjectBuilder, both on Mac OS X 10.3.
Problem is I get lots of errors. It seems that the build process tries
to use /usr/bin/g++2, which does not exist (g++3 does though).
I'm not that familiar with C/C++/Objectve-C (being a Java developer)
so I just don't know how to solve this. Do I have to change g++2 into
g++3 in some of the project files? The compiler I use is GCC v3.3
(according to the Target settings). I've also tried using GCC v2.95,
but I get the same errors.
I posted this problem also on the MacOSX-dev list and they directed me
to this list.
Thank you,
Don
PS. This is the build log for one of the errors:
CompileCplusplus
/Users/wonco/development/Cocoa/xerces-c-src_2_3_0/Projects/MacOS/
ProjectBuilder/XercesLib/build/XercesLib.build/XercesLib.build/Objects-
normal/ppc/MemoryManagerImpl.o
/usr/bin/g++2 -c
-F/Users/wonco/development/Cocoa/xerces-c-src_2_3_0/Projects/MacOS/
ProjectBuilder/XercesLib/build
-I/Users/wonco/development/Cocoa/xerces-c-src_2_3_0/Projects/MacOS/
ProjectBuilder/XercesLib/build/include -I../../../../src
-I../../../../src/xercesc/internal -arch ppc -fno-common
-fpascal-strings -O0 -Wmost -Wno-reorder -Wno-four-char-constants
-Wno-unknown-pragmas -pipe -g -precomp-trustfile
/Users/wonco/development/Cocoa/xerces-c-src_2_3_0/Projects/MacOS/
ProjectBuilder/XercesLib/build/XercesLib.build/XercesLib.build/
TrustedPrecomps.txt
-Wp,-header-mapfile,/Users/wonco/development/Cocoa/xerces-c-src_2_3_0/
Projects/MacOS/ProjectBuilder/XercesLib/build/XercesLib.build/
XercesLib.build/Xerces.hmap -include
/Users/wonco/development/Cocoa/xerces-c-src_2_3_0/Projects/MacOS/
ProjectBuilder/XercesLib/build/XercesLib.build/XercesLib.build/
PrefixHeaders/xerces_prefix.h "-w" "-DXML_USE_INMEM_MESSAGELOADER"
"-DXML_USE_MACOS_UNICODECONVERTER" "-DXML_USE_NETACCESSOR_URLACCESSCF"
"-DDEBUG" ../../../../src/xercesc/internal/MemoryManagerImpl.cpp -o
/Users/wonco/development/Cocoa/xerces-c-src_2_3_0/Projects/MacOS/
ProjectBuilder/XercesLib/build/XercesLib.build/XercesLib.build/Objects-
normal/ppc/MemoryManagerImpl.o
/bin/sh: line 1: /usr/bin/g++2: No such file or directory