+ update paths to work with mapnik2

This commit is contained in:
Artem Pavlenko 2010-03-10 10:44:15 +00:00
parent bce0dab02a
commit 1cd9c3257d
2 changed files with 3 additions and 3 deletions

View file

@ -39,7 +39,7 @@ int main( int argc, char **argv )
using mapnik::freetype_engine;
// modify this prefix based on your install location
std::string mapnik_dir = "/opt/mapnik";
std::string mapnik_dir = "/opt/mapnik2";
datasource_cache::instance()->register_datasources(mapnik_dir + "/lib/mapnik/input");
boost::filesystem::path path(mapnik_dir + "/lib/mapnik/fonts");

View file

@ -4,14 +4,14 @@
CC = g++
TEMPLATE = app
INCLUDEPATH += /opt/mapnik/include
INCLUDEPATH += /opt/mapnik2/include
INCLUDEPATH += /opt/boost/include/
INCLUDEPATH += /usr/X11/include/
INCLUDEPATH += /usr/X11/include/freetype2
INCLUDEPATH += .
QMAKE_CXXFLAGS +=' -DDARWIN -Wno-missing-field-initializers'
unix:LIBS = -L/opt/mapnik/lib -L/usr/X11/lib -lmapnik -lfreetype -L/usr/local/lib -licuuc
unix:LIBS = -L/opt/mapnik2/lib -L/usr/X11/lib -lmapnik -lfreetype -L/usr/local/lib -licuuc
unix:LIBS += -lboost_system -lboost_filesystem -lboost_regex -L/opt/boost/lib
# Input