hi,
i got the xerces latest sources and was albe to compile it.
the samples also get compiled and executed properly.
but when i try to use the xerces-API in my program i come across
compilation issues.
Platform : RH9 linux
---------------------------
here is a my source file
---------------------------
#include<xercesc/util/PlatfromUtils.hpp>
int main(){
XMLPlatformUtils::Initialize();
return 1;
}
----------------------------------------
here is the output of the compilation
----------------------------------------
g++ -w -O -DLINUX -D_REENTRANT -DAPP_NO_THREADS -DXML_USE_NO_THREADS O2
-DNDEBUG -fpic -felide-constructors -pipe -c -I.
-I/root/xerces-c-src_2_6_0/include Main.cpp
Main.cpp: In function `int main()':
Main.cpp:7: `XMLPlatformUtils' undeclared
(first use this function)
Main.cpp:7: (Each undeclared identifier is
reported only once for each function it appears in.)
Main.cpp:7: parse error before `::' token
any pointers as to why this is happening??
thanks in advance
~Swaroop
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]