python-mapnik icon indicating copy to clipboard operation
python-mapnik copied to clipboard

error: no template named 'coord2f' in namespace 'mapnik';

Open CepKo84 opened this issue 7 years ago • 2 comments

Hi, guys. I have installation problem with python-mapnik Centos 7 mapnik 3.0.17 boost 1.66 clang 5.0 (clang++-5.0)

python3.6 setup.py install /usr/local/include/mapnik/geometry/boost_adapters.hpp:52:42: error: no template named 'coord2f' in namespace 'mapnik'; did you mean 'coord'? BOOST_GEOMETRY_REGISTER_POINT_2D(mapnik::coord2f, float, boost::geometry::cs::cartesian, x, y)

What I'm doing wrong? thx

CepKo84 avatar Feb 14 '18 14:02 CepKo84

Are you building python-mapnik from Master? You need v3.0.x branch to build against mapnik 3.0.17.

talaj avatar Feb 19 '18 11:02 talaj

Yes, I'm building python-mapnik from Master. I'll try v3.0.x branch Thanks

CepKo84 avatar Feb 19 '18 17:02 CepKo84