Borys
Trying to compile on Ubuntu Hardy, I get the message:

  [  0%] Generating qgssvnversion.h
  [  0%] Built target svnversion
  [  1%] Building CXX object src/core/CMakeFiles/qgis_core.dir/qgsgeometry.o
  /mnt/arch/svn/qgis/src/core/qgsgeometry.cpp: In static member function
   `static QgsGeometry* QgsGeometry::fromWkt(QString),:
  /mnt/arch/svn/qgis/src/core/qgsgeometry.cpp:407: error: `GEOSGeomFromWkt,
   was not declared in this scope
  make[2]: *** [src/core/CMakeFiles/qgis_core.dir/qgsgeometry.o] Error 1
  make[1]: *** [src/core/CMakeFiles/qgis_core.dir/all] Error 2

My GEOS version is 2.2.3-4, cmake is 2.6.0-4 and ccmake settings are:

  GEOS_CONFIG                      /usr/bin/geos-config
  GEOS_CONFIG_PREFER_PATH          /bin
  GEOS_INCLUDE_DIR                 /usr/include
  GEOS_LIBRARY                     /usr/lib/libgeos_c.so
  GEOS_LIB_NAME_WITH_PREFIX        -lgeos_c

The last line seems strange to me... Could anybody help me to find the reason? Removing the build directory doesn't help.
I'm getting the same error:
[ 11%] Building CXX object src/core/CMakeFiles/qgis_core.dir/qgsgeometry.o
/home/dev/cpp/qgis/src/core/qgsgeometry.cpp: In static member function ‘static QgsGeometry* QgsGeometry::fromWkt(QString)’: /home/dev/cpp/qgis/src/core/qgsgeometry.cpp:407: error: ‘GEOSGeomFromWkt’ was not declared in this scope
make[2]: *** [src/core/CMakeFiles/qgis_core.dir/qgsgeometry.o] Error 1
make[1]: *** [src/core/CMakeFiles/qgis_core.dir/all] Error 2
make: *** [all] Error 2


Carson
_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to