On Nov 3, 2007, at 11:39 PM, Tom Elwertowski wrote: > John C. Tull wrote: >> In order to checkout and build the advanced editing branch, do you >> simply checkout that using svn with something like: >> svn co https://svn.qgis.org/repos/qgis/branches/ >> advanced_editing_branch adv_edit >> then build from that directory (adv_edit) as normal? > > Yes. > >> I tried this today (rev 7316) and was not able to build on OS X >> where I can build trunk. > > You must be using GEOS 3.0. Rev 7317 has been made GEOS 3.0 > compatible. > > Tom
You are correct about GEOS 3.0. I am using William's framework version of GEOS, and the current does point to the 3.0 version. I still seem to be running into a problem related to GEOS when invoking 'make -j3' after cmake (output below). I edited the qgsgeometry.h file and provided the full path to geos.h, then the build succeeded (this time with 'make' to be safe). I don't know if the j3 option was part of the problem or not. Thanks for changing the GEOS requirement. I look forward to testing this branch. John [ 34%] Built target gpxprovider Scanning dependencies of target qgisgrass [ 34%] Building CXX object src/gui/CMakeFiles/qgis_gui.dir/ qgsrubberband.o [ 34%] Building CXX object src/providers/grass/CMakeFiles/ qgisgrass.dir/qgsgrassprovider.o In file included from /Users/jctull/sources/qgis/adv_edit/src/gui/ qgsrubberband.cpp:19: /Users/jctull/sources/qgis/adv_edit/src/gui/../core/qgsgeometry.h: 26:18: error: geos.h: No such file or directory In file included from /Applications/GRASS-6.3.app/Contents/MacOS/ include/grass/rtree.h:18, from /Applications/GRASS-6.3.app/Contents/MacOS/ include/grass/vect/dig_structs.h:18, from /Applications/GRASS-6.3.app/Contents/MacOS/ include/grass/vect/digit.h:3, from /Applications/GRASS-6.3.app/Contents/MacOS/ include/grass/Vect.h:4, from /Users/jctull/sources/qgis/adv_edit/src/ providers/grass/qgsgrassprovider.cpp:43: /Applications/GRASS-6.3.app/Contents/MacOS/include/grass/rtree/index.h: 22:1: warning: "NDEBUG" redefined <command line>:1:1: warning: this is the location of the previous definition /Users/jctull/sources/qgis/adv_edit/src/gui/../core/qgsgeometry.h:399: error: ‘geos::LineString’ has not been declared /Users/jctull/sources/qgis/adv_edit/src/gui/../core/qgsgeometry.h:403: error: ‘geos::LineString’ has not been declared make[2]: *** [src/gui/CMakeFiles/qgis_gui.dir/qgsrubberband.o] Error 1 make[1]: *** [src/gui/CMakeFiles/qgis_gui.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 34%] Building CXX object src/providers/wfs/CMakeFiles/ wfsprovider.dir/qgswfsdata.o [ 34%] Building CXX object src/providers/wfs/CMakeFiles/ wfsprovider.dir/moc_qgswfsdata.o [ 34%] Building CXX object src/providers/grass/CMakeFiles/ qgisgrass.dir/qgsgrass.o In file included from /Applications/GRASS-6.3.app/Contents/MacOS/ include/grass/rtree.h:18, from /Applications/GRASS-6.3.app/Contents/MacOS/ include/grass/vect/dig_structs.h:18, from /Applications/GRASS-6.3.app/Contents/MacOS/ include/grass/vect/digit.h:3, from /Applications/GRASS-6.3.app/Contents/MacOS/ include/grass/Vect.h:4, from /Users/jctull/sources/qgis/adv_edit/src/ providers/grass/qgsgrass.cpp:38: /Applications/GRASS-6.3.app/Contents/MacOS/include/grass/rtree/index.h: 22:1: warning: "NDEBUG" redefined <command line>:1:1: warning: this is the location of the previous definition Linking CXX shared module libwfsprovider.so [ 34%] Built target wfsprovider Linking CXX shared library libqgisgrass.dylib [ 34%] Built target qgisgrass make: *** [all] Error 2 _______________________________________________ Qgis-user mailing list Qgis-user@lists.qgis.org http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user