Javier V schrieb am 03.08.2012 um 00:52 (+0200):

> home/jabuntu/Desktop/testxml/main.cpp:26:31: fatal error:
> libxml++/libxml++.h: No such file or directory
> compilation terminated.

You put the libxml++ header files in a non-standard directory
and didn't tell the compiler about it. Try something like:

  g++ -I/home/jabuntu/libxml++ …

Works with:  ~jabuntu/libxml++/libxml++/libxml++.h

You'll probably also need -L for linking.

Read this guide from start to end, you won't regret it:

An Introduction to GCC - Brian Gough
http://www.network-theory.co.uk/docs/gccintro/index.html

Your specific page: 3.1 Setting search paths
http://www.network-theory.co.uk/docs/gccintro/gccintro_21.html

For how to use CMake, maybe ask on a CMake forum.
-- 
Michael Ludwig
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
https://mail.gnome.org/mailman/listinfo/xml

Reply via email to