<!-- DIV {margin:0px;}-->
Hi,
Im trying to build Xerces-c using MinGW on cygwin but am getting compilation
errors:
from
a quick google, it seems most of the errors are associated with a bad
XERCESCROOT, although i am sure I have set this correctly.
(some notes:
- my cygwin does not have gcc. Although it does have make
- i explictly set the path because i have another version of make elsewhere
- gcc version 3.4.5 (mingw special) and GNU Make 3.81
- winxp
- runConfigure command opts from
http://xerces.apache.org/xerces-c/build-winunix.html#CygWin
)
$ cd /cygdrive/d/SDK/xerces-c-src_2_8_0
$ export XERCESCROOT=`pwd`
$ echo
$XERCESCROOT
/cygdrive/d/SDK/xerces-c-src_2_8_0
$ export PATH=/bin:/usr/bin:/usr/local/bin:/cygdrive/c/WINDOWS/MinGW/bin
$ cd $XERCESCROOT/src/xercesc
$ ./runConfigure -p mingw-msys -c gcc -x g++ -z -mno-cygwin -l -mno-cygwin -C
--host=i686-mingw32
$ make
...
...
Building util
make -s -C util
(CP) /cygdrive/d/SDK/xerces-c-src_2_8_0/include/xercesc/util
(CP) /cygdrive/d/SDK/xerces-c-src_2_8_0/include/xercesc/util/Platforms/Win32
(CP)
/cygdrive/d/SDK/xerces-c-src_2_8_0/include/xercesc/util/Transcoders/Cygwin
(CP)
/cygdrive/d/SDK/xerces-c-src_2_8_0/include/xercesc/util/MsgLoaders/InMemory
(CP)
/cygdrive/d/SDK/xerces-c-src_2_8_0/include/xercesc/util/NetAccessors/WinSock
(CP) /cygdrive/d/SDK/xerces-c-src_2_8_0/include/xercesc/util/Compilers
(CP)
/cygdrive/d/SDK/xerces-c-src_2_8_0/include/xercesc/util/regx
(C++) Base64.o
Base64.cpp:25:35: xercesc/util/Base64.hpp: No such file or directory
Base64.cpp:26:38: xercesc/util/XMLString.hpp: No such file or directory
Base64.cpp:27:36: xercesc/util/Janitor.hpp: No such file or directory
Base64.cpp:28:42: xercesc/internal/XMLReader.hpp: No such file or directory
Base64.cpp:29:47: xercesc/framework/MemoryManager.hpp: No such file or directory
Base64.cpp:36: error: expected constructor, destructor, or type conversion
before "static"
...
...
I could post the full output but its probally too much ...
Any ideas.
Thanks,
Rich.
Sent from Yahoo! Mail.
A Smarter Inbox.
__________________________________________________________
Sent from Yahoo! Mail.
A Smarter Inbox. http://uk.docs.yahoo.com/nowyoucan.html