Hi Thomas, Thank you very much for your reply. I will try your solution. Do you know why I still get the error notice (no such file or directory) even I copy the libxml folder out of the libxml2, or change the code to #include <libxml2/libxml/xxx.h> ? Linux is new for me, lack some background knowledge. Sorry. BR, Tong From: thomas_floodeenjr mentor com To: zealotmat hotmail com; xml gnome org Subject: RE: [xml] Question about the path of libxml2 library Date: Thu, 7 Apr 2011 14:39:21 +0000 How about when you build, specify the include path:
gcc -I${XML_DIR}/include/libxml2 -L{XML_DIR}/lib -lxml2 -lz -lm -o file file.c
Thomas Floodeen, Jr. Mentor Graphics BSD 720.494.1133
From: xml-bounces gnome org [mailto:xml-bounces gnome org]
On Behalf Of Tong Mao
Hello everyone, |