[xml] LibXML++ in CMakeLists.txt



Hello everyone,

I cannot find information about how it has to be the CMakeLists.txt when trying to use the libxml++-2.6.

More info: I'm using Ubuntu 12.04 64 bits, and I'm trying to compile http://developer.gnome.org/libxml++-tutorial/stable/ch02s03.html by using CMake (this is mandatory, because I want to include it inside a bigger project which is structured by CMake).

I've tried different things but I'm always getting this error:

home/jabuntu/Desktop/testxml/main.cpp:26:31: fatal error: libxml++/libxml++.h: No such file or directory
compilation terminated.
make[2]: *** [CMakeFiles/xmltest.dir/main.cpp.o] Error 1
make[1]: *** [CMakeFiles/xmltest.dir/all] Error 2
make: *** [all] Error 2



This is a bit urgent.

Thank you very very much for your help!

Best regards,

Javier


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