VeaaC / monav

Automatically exported from code.google.com/p/monav
0 stars 0 forks source link

libxml2 include path #91

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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 robert.v...@gmx.de on 21 Dec 2012 at 9:35

GoogleCodeExporter commented 9 years ago
That line is also needed in qtilerenderer.pro

Original comment by robert.v...@gmx.de on 21 Dec 2012 at 9:53