I am on Debian 8 (Jessie), 64 Bit. I installed libxml2-dev, which now sits in /usr/include/libxml2/libxml.
libxml2-dev
/usr/include/libxml2/libxml
But when I do (just like l
l
You should use pkg-config to pass parameters to compiler. Like this
pkg-config
g++ `pkg-config --cflags libxml-2.0` example.c -o example.o
and to linker:
g++ `pkg-config --libs libxml-2.0` example.o -o example