[Qgis-developer] Compilation problem (Version-1_0/)
Agustin Lobo
aloboaleu at gmail.com
Tue Feb 3 08:42:19 EST 2009
I'm having problems at compiling source from:
svn co https://svn.osgeo.org/qgis/branches/Version-1_0/
on ubuntu 8.04.
I modified the settings for ccmake in the following way (I want to get
sid and ecw support):
GDAL_CONFIG: /usr/local/FWTools-2.0.6/bin-safe/gdal-config
GDAL_CONFIG_PREFER_FWTOOLS_PAT /bin-safe
GDAL_CONFIG_PREFER_PATH /bin
GDAL_INCLUDE_DIR /usr/local/FWTools-2.0.6/include
GDAL_LIBRARY /usr/local/FWTools-2.0.6/lib/libgdal.so.1.6.0
At make, I get:
[ 11%] Building CXX object
src/core/CMakeFiles/qgis_core.dir/qgsdistancearea.o
In file included from
/home/alobo/dev/cpp/qgis/src/core/qgsdistancearea.cpp:28:
/home/alobo/dev/cpp/qgis/src/core/qgsgeometry.h:103: error:
‘GEOSGeometry’ has not been declared
/home/alobo/dev/cpp/qgis/src/core/qgsgeometry.h:338: error: ISO C++
forbids declaration of ‘GEOSGeometry’ with no type
/home/alobo/dev/cpp/qgis/src/core/qgsgeometry.h:338: error: expected ‘;’
before ‘*’ token
/home/alobo/dev/cpp/qgis/src/core/qgsgeometry.h:379: error: expected ‘,’
or ‘...’ before ‘*’ token
/home/alobo/dev/cpp/qgis/src/core/qgsgeometry.h:380: error: ISO C++
forbids declaration of ‘GEOSCoordSequence’ with no type
/home/alobo/dev/cpp/qgis/src/core/qgsgeometry.h:408: error:
‘GEOSGeometry’ has not been declared
/home/alobo/dev/cpp/qgis/src/core/qgsgeometry.h:411: error:
‘GEOSGeometry’ has not been declared
/home/alobo/dev/cpp/qgis/src/core/qgsgeometry.h:414: error: expected ‘,’
or ‘...’ before ‘*’ token
/home/alobo/dev/cpp/qgis/src/core/qgsgeometry.h:414: error: ISO C++
forbids declaration of ‘GEOSGeometry’ with no type
/home/alobo/dev/cpp/qgis/src/core/qgsgeometry.h:418: error: ISO C++
forbids declaration of ‘GEOSGeometry’ with no type
/home/alobo/dev/cpp/qgis/src/core/qgsgeometry.h:418: error: expected ‘;’
before ‘*’ token
/home/alobo/dev/cpp/qgis/src/core/qgsgeometry.h:421: error:
‘GEOSGeometry’ has not been declared
/home/alobo/dev/cpp/qgis/src/core/qgsgeometry.h:423: error:
‘GEOSGeometry’ was not declared in this scope
/home/alobo/dev/cpp/qgis/src/core/qgsgeometry.h:423: error: template
argument 1 is invalid
make[2]: *** [src/core/CMakeFiles/qgis_core.dir/qgsdistancearea.o] Error 1
make[1]: *** [src/core/CMakeFiles/qgis_core.dir/all] Error 2
make: *** [all] Error 2
Any idea on what I'm doing wrong?
Thanks
Agus
--
Dr. Agustin Lobo
Institut de Ciencies de la Terra "Jaume Almera" (CSIC)
LLuis Sole Sabaris s/n
08028 Barcelona
Spain
Tel. 34 934095410
Fax. 34 934110012
email: Agustin.Lobo at ija.csic.es
http://www.ija.csic.es/gt/obster
More information about the Qgis-developer
mailing list