Error while including libxml2 library
Solved
Installation and Deployment
-
Hi everyone, I had some troubles with this.
I added this to the .pro file:
LIBS += -lcurl
INCLUDEPATH += /usr/include/libxml2/libxml
First of all, if I type LIBS += -llibxml2 i get an error. Thats why I included the path.
It works, but then I get the next error:
/usr/include/libxml2/libxml/xmlversion.h:13: error: 'libxml/xmlexports.h' file not found.
What is happening? -
Solved!
I had to include the next line and now it works fineDEPENDPATH += /usr/include/libxml2