+ update viewer to work with latest naming changes

This commit is contained in:
Artem Pavlenko 2010-03-17 22:01:42 +00:00
parent f00dbb7496
commit 0ed2f6dc42
2 changed files with 5 additions and 5 deletions

View file

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

View file

@ -4,14 +4,14 @@
CC = g++
TEMPLATE = app
INCLUDEPATH += /opt/mapnik2/include
INCLUDEPATH += /opt/mapnik/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/mapnik2/lib -L/usr/X11/lib -lmapnik -lfreetype -L/usr/local/lib -licuuc
unix:LIBS = -L/opt/mapnik/lib -L/usr/X11/lib -lmapnik2 -lfreetype -L/usr/local/lib -licuuc
unix:LIBS += -lboost_system -lboost_filesystem -lboost_regex -L/opt/boost/lib
# Input