Re: [xml] Help with libxml


On Sun, Oct 30, 2016 at 3:02 PM, johnny_hil  wrote:
I installed the package libxml on Cygwin on Windows but when I try to
include a header from it, the terminal indicates the error that xmlversion.h
is missing.

Do you know how to solve that ?

Since you didn't show us your code, nor the command to invoke the
compiler, I had to use my psychic powers, which tell me that you need
to add the -I/usr/include/libxml2 switch to the compiler command, and
the include statement needs to look like this:

#include <libxml/parser.h>


#include <libxml/xmlreader.h>

Hope this helps,
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds

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