Opened 7 years ago

Closed 6 years ago

#4634 closed defect (fixed)

tirex v27703 doesn't compile with current mapnik

Reported by: dieterdreist Owned by: jochen@…
Priority: minor Milestone:
Component: tirex Version:
Keywords: mapnik Cc:

Description

the error is:

~/src/tirex$ make
cd backend-mapnik; make
make[1]: Entering directory `/home/osm/src/tirex/backend-mapnik'
g++ -Wall -Wextra -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I
/usr/include/freetype2/ -DBOOST_FILESYSTEM_VERSION=2    -c -o
renderd.o renderd.cc
renderd.cc: In constructor ‘RenderDaemon::RenderDaemon(int, char**)’:
renderd.cc:191:50: error: base operand of ‘->’ has non-pointer type
‘mapnik::datasource_cache’
make[1]: *** [renderd.o] Error 1
make[1]: Leaving directory `/home/osm/src/tirex/backend-mapnik'
make: *** [build] Error 2

this was discussed on the mapnik mailing list here: https://groups.google.com/forum/?fromgroups#!topic/mapnik/g2P3A8PcO_c

Dane Springmeyer's answer describes reason and solution like this:

This is due to a change in the C++ API in Mapnik 2.2-pre. Tirex will need something like:

https://github.com/mapnik/node-mapnik/blob/master/src/mapnik_plugins.hpp#L29-33

to be able to compile against all past and future Mapnik versions.

Change History (1)

comment:1 Changed 6 years ago by Dane Springmeyer

Resolution: fixed
Status: newclosed

this should be fixed in r29248.

Note: See TracTickets for help on using tickets.