[Qgis-developer] Compile error (geos)

Stefan Ziegler stefan.ziegler.de at gmail.com
Fri Sep 25 02:49:26 PDT 2015


Hi

I cannot compile QGIS master:

[  0%] Built target version
Linking CXX shared library ../../output/lib/libqgis_core.so
CMakeFiles/qgis_core.dir/geosextra/geos_c_extra.cpp.o: In function
`GEOSPrecisionModel_create':
geos_c_extra.cpp:(.text+0x1b): undefined reference to
`geos::geom::PrecisionModel::PrecisionModel(geos::geom::PrecisionModel::Type)'
CMakeFiles/qgis_core.dir/geosextra/geos_c_extra.cpp.o: In function
`GEOSPrecisionModel_createFixed':
geos_c_extra.cpp:(.text+0x63): undefined reference to
`geos::geom::PrecisionModel::PrecisionModel(double)'
CMakeFiles/qgis_core.dir/geosextra/geos_c_extra.cpp.o: In function
`GEOSPrecisionModel_destroy':
geos_c_extra.cpp:(.text+0x9a): undefined reference to
`geos::geom::PrecisionModel::~PrecisionModel()'
CMakeFiles/qgis_core.dir/geosextra/geos_c_extra.cpp.o: In function
`GEOSGeometryPrecisionReducer_reduce':
geos_c_extra.cpp:(.text+0x101): undefined reference to
`geos::precision::GeometryPrecisionReducer::reduce(geos::geom::Geometry
const&)'
collect2: error: ld returned 1 exit status
make[2]: *** [output/lib/libqgis_core.so.2.11.0] Error 1
make[1]: *** [src/core/CMakeFiles/qgis_core.dir/all] Error 2
make: *** [all] Error 2

I installed latest geos from trunk.

regards
Stefan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20150925/9c8353fe/attachment.html>


More information about the Qgis-developer mailing list