Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

tirex v27703 doesn't compile with current mapnik #4634

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment
Closed

tirex v27703 doesn't compile with current mapnik #4634

openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment

Comments

@openstreetmap-trac
Copy link

Reporter: dieterdreist
[Submitted to the original trac issue database at 10.18pm, Tuesday, 16th October 2012]

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.

@openstreetmap-trac
Copy link
Author

Author: springmeyer
[Added to the original trac issue at 10.10pm, Monday, 11th February 2013]

this should be fixed in r29248.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant