Re: [libxml++] libxml++ problem



On Wed, 3 Sep 2003 10:13, you wrote:
> Hi Guys
>
> I am writting a c++ app and need xml support so i thought i would give
> libxml++ a try. Anyways i can not get anything to compile, i am using
> Debian 3.0r1 I am using kdevelop 2.1. I tried a few of the examples that
> comes with libxml++ but none of them compile for eg (import node example)
>
snip

ooops sorry guys that last error message was the wrong one :-(
here is the correct one: the last one was with "cerr << "Caught exception " 
<< e.what() << endl;" commented out.

*********************************************************************************

make  all-recursive
make[1]: Entering directory `/root/test'
Making all in test
make[2]: Entering directory `/root/test/test'
c++ -DHAVE_CONFIG_H -I. -I. -I..     -O2 -O0 -g3 -Wall -fno-exceptions 
-fno-check-new  -c main.cpp
main.cpp: In function `int main(int, char **)':
main.cpp:32: exception handling disabled, use -fexceptions to enable
main.cpp:47: no matching function for call to `xmlpp::Element::import_node 
(xmlpp::Node *&)'
main.cpp:50: no matching function for call to 
`xmlpp::Document::write_to_string_formatted ()'
main.cpp:55: `e' undeclared (first use this function)
main.cpp:55: (Each undeclared identifier is reported only once
main.cpp:55: for each function it appears in.)
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/root/test/test'
make[1]: Leaving directory `/root/test'
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2
*** failed ***
*******************************************************************************************

Tim




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]