I was later able to get this to build by including "WITH_INTERNAL_SPATIALITE" during cmake.
When cmake runs, it has "WITH_INTERNAL_SPATIALITE" OFF and "WITH_SPATIALITE" ON. I have the spatialite package, so this seemed right and just doing make after cmake finished with it's list of defaults results in this problem. I had to turn ON "WITH_INTERNAL_SPATIALITE" to get the build to work, even though I have the spatialite package already installed. On 06/21/12 10:03, Harry G McGavran Jr wrote: > With the announcement of the release of QGIS-1.8.0, I'm trying to build > QGIS-1.8.0 on Ubuntu Lucid 10.04. The configure worked fine, and the > build proceeded to: > > . > . > . > [ 40%] Building CXX object > src/providers/postgres/CMakeFiles/postgresprovider.dir/moc_qgspgtablemodel.cxx.o > [ 40%] Building CXX object > src/providers/postgres/CMakeFiles/postgresprovider.dir/moc_qgscolumntypethread.cxx.o > Linking CXX shared module > ../../../output/lib/qgis/plugins/libpostgresprovider.so > [ 40%] Built target postgresprovider > [ 40%] Generating moc_qgsspatialiteconnection.cxx > [ 40%] Generating moc_qgsspatialiteprovider.cxx > [ 40%] Generating moc_qgsspatialitedataitems.cxx > [ 40%] Generating moc_qgsspatialitesourceselect.cxx > [ 40%] Generating moc_qgsspatialitetablemodel.cxx > Scanning dependencies of target spatialiteprovider > [ 40%] Building CXX object > src/providers/spatialite/CMakeFiles/spatialiteprovider.dir/qgsspatialiteprovider.cpp.o > /usr/local/src/qgis/qgis-1.8.0/src/providers/spatialite/qgsspatialiteprovider.cpp: > In member function 'void > QgsSpatiaLiteProvider::convertFromGeosWKB2D(const unsigned char*, > size_t, unsigned char*, size_t, int, int, int)': > /usr/local/src/qgis/qgis-1.8.0/src/providers/spatialite/qgsspatialiteprovider.cpp:1294: > error: 'GAIA_POINTZM' was not declared in this scope > /usr/local/src/qgis/qgis-1.8.0/src/providers/spatialite/qgsspatialiteprovider.cpp:1297: > error: ' > GAIA_POINTZ' was not declared in this scope > /usr/local/src/qgis/qgis-1.8.0/src/providers/spatialite/qgsspatialiteprovider.cpp:1300: > error: 'GAIA_POINTM' was not declared in this scope > /usr/local/src/qgis/qgis-1.8.0/src/providers/spatialite/qgsspatialiteprovider.cpp:1311: > error: 'GAIA_LINESTRINGZM' was not declared in this scope > /usr/local/src/qgis/qgis-1.8.0/src/providers/spatialite/qgsspatialiteprovider.cpp:1314: > error: 'GAIA_LINESTRINGZ' was not declared in this scope > /usr/local/src/qgis/qgis-1.8.0/src/providers/spatialite/qgsspatialiteprovider.cpp:1317: > error: 'GAIA_LINESTRINGM' was not declared in this scope > /usr/local/src/qgis/qgis-1.8.0/src/providers/spatialite/qgsspatialiteprovider.cpp:1328: > error: 'GAIA_POLYGONZM' was not declared in this scope > /gaiageo.hp:1331: error: 'GAIA_POLYGONZ' was not declared in this scope > /qgsspatialiteprovider.cpp:1334: error: 'GAIA_POLYGONM' was not declared > in this scope > . > . > . > > Lot's more of these follow. > > > These things are defined in > ./src/core/spatialite/headers/spatialite/gaiageo.h > locally... > > Suggestions??? > > > -- Harry G. McGavran, Jr. E-mail: [email protected] _______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
