[Qgis-developer] Compilation error with geosextra

Matthias Kuhn matthias at opengis.ch
Sat Sep 26 07:13:27 PDT 2015


Hi Tim,

* Edit CMacheCache.txt in your build directory and remove any line
starting with GEOS_
* Or start from a clean build directory

Matthias

On 09/26/2015 04:10 PM, Tim Sutton wrote:
> Hi All
>
> Compiling here on Fedora 22, git checkout
> from 9df1a08d46229a92aa122eb06278dfbd273da54d
>
> Linking CXX shared library ../../output/lib/libqgis_core.so
> CMakeFiles/qgis_core.dir/geosextra/geos_c_extra.cpp.o: In function
> `GEOSPrecisionModel_create':
> /home/timlinux/dev/cpp/QGIS/src/core/geosextra/geos_c_extra.cpp:25:
> 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':
> /home/timlinux/dev/cpp/QGIS/src/core/geosextra/geos_c_extra.cpp:30:
> undefined reference to
> `geos::geom::PrecisionModel::PrecisionModel(double)'
> CMakeFiles/qgis_core.dir/geosextra/geos_c_extra.cpp.o: In function
> `GEOSPrecisionModel_destroy':
> /home/timlinux/dev/cpp/QGIS/src/core/geosextra/geos_c_extra.cpp:35:
> undefined reference to `geos::geom::PrecisionModel::~PrecisionModel()'
> CMakeFiles/qgis_core.dir/geosextra/geos_c_extra.cpp.o: In function
> `GEOSGeometryPrecisionReducer_reduce':
> /home/timlinux/dev/cpp/QGIS/src/core/geosextra/geos_c_extra.cpp:47:
> undefined reference to
> `geos::precision::GeometryPrecisionReducer::reduce(geos::geom::Geometry const&)'
> collect2: error: ld returned 1 exit status
> src/core/CMakeFiles/qgis_core.dir/build.make:10986: recipe for target
> 'output/lib/libqgis_core.so.2.11.0' failed
> make[2]: *** [output/lib/libqgis_core.so.2.11.0] Error 1
> CMakeFiles/Makefile2:1119: recipe for target
> 'src/core/CMakeFiles/qgis_core.dir/all' failed
> make[1]: *** [src/core/CMakeFiles/qgis_core.dir/all] Error 2
> Makefile:146: recipe for target 'all' failed
> make: *** [all] Error 2
>
>
> Does anyone else get this?
>
> Regards
>
> Tim
>
>>
>
>
>
> Tim Sutton
>
> Visit http://kartoza.com to find out about open source:
>
> * Desktop GIS programming services
> * Geospatial web development
> * GIS Training
> * Consulting Services
>
> Skype: timlinux Irc: timlinux on #qgis at freenode.net
> <http://freenode.net>
> Tim is a member of the QGIS Project Steering Committee
>
> Kartoza is a merger between Linfiniti and Afrispatial
>
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20150926/b6b53c90/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 9324 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20150926/b6b53c90/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20150926/b6b53c90/attachment-0001.pgp>


More information about the Qgis-developer mailing list