diff --git a/demo/viewer/main.cpp b/demo/viewer/main.cpp index c91824729..f90bd877c 100644 --- a/demo/viewer/main.cpp +++ b/demo/viewer/main.cpp @@ -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"); diff --git a/demo/viewer/viewer.pro b/demo/viewer/viewer.pro index c8461fa3d..23c3139ae 100644 --- a/demo/viewer/viewer.pro +++ b/demo/viewer/viewer.pro @@ -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