I'm trying to us the mapnik viewer.  I tried the viewer, that comes with Fedora 
Core 9 (64bit).  When I open a xml map file I see the layers, in the side bar, 
but they are not displayed in the map.

I have another version (svn) of mapnik installed in /usr/local.  When I attempt 
to compile the viewer, it tries to use qt-3.3 as follows:

g++ -c -pipe ' -DDARWIN' -Wall -W -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic  
-DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT 
-I/usr/lib64/qt-3.3/mkspecs/default -I. -I../../../../../include/mapnik 
-I../../../../../../include/boost -I../../../../../../include/X11 -I. 
-I/usr/lib64/qt-3.3/include -o main.o main.cpp
g++:  -DDARWIN: No such file or directory
main.cpp:22:24: error: QApplication: No such file or directory

I have qt4 installed with development libraries in /usr/lib64/qt4, but it does 
not seem to be able to find it.  Is there a way specify the location of qt4?

Steve


      

_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to