Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libxml2 include path #91

Open
GoogleCodeExporter opened this issue Oct 13, 2015 · 1 comment
Open

libxml2 include path #91

GoogleCodeExporter opened this issue Oct 13, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

qmake monavpreprocessor.pro
make

make[2]: Entering directory `<path>/plugins/osmimporter'
g++ -c -m64 -pipe -g -Wno-unused-function -fPIC -Wall -W -D_REENTRANT -fPIC 
-DNOGUI -DQT_STATICPLUGIN -DQT_PLUGIN -DQT_CORE_LIB 
-I../../../../qtsdk/Desktop/Qt/473/gcc/mkspecs/default -I. 
-I../../../../qtsdk/Desktop/Qt/473/gcc/include/QtCore 
-I../../../../qtsdk/Desktop/Qt/473/gcc/include -I../.. -I. -o osmimporter.o 
osmimporter.cpp
In file included from ../../utils/osm/xmlreader.h:24:0,
                 from osmimporter.cpp:24:
./bz2input.h:26:30: fatal error: libxml/xmlreader.h: No such file or directory


The line
unix:INCLUDEPATH += /usr/include/libxml2/
in 
plugins/osmimporter/osmimporter.pro 
fixes it, but I'm not absolutely sure that's the right thing. Nobody has 
reported this before, but the libxml2 headers always seem to be in 
/usr/include/libxml2/libxml/

Original issue reported on code.google.com by [email protected] on 21 Dec 2012 at 9:35

@GoogleCodeExporter
Copy link
Author

That line is also needed in qtilerenderer.pro

Original comment by [email protected] on 21 Dec 2012 at 9:53

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant