[Qgis-developer] Bulding QGIS on Mac 10.8

Tasos Varoudis null at archtech.gr
Wed Oct 17 03:29:05 PDT 2012


Hello,

Any ideas? Im using "brew" to install deps.

Best

  Quantum-GIS git:(master) ✗ cmake -D CMAKE_VERBOSE_MAKEFILE=true -D CMAKE_BUILD_TYPE=Debug .
-- Quantum GIS version: 1.9.0 Master (10900)
-- Could not find GRASS
-- Found Proj: /Library/Frameworks/PROJ.framework
-- Found GEOS: /Library/Frameworks/GEOS.framework
-- Found GDAL: /Library/Frameworks/GDAL.framework (1.8.1)
-- Found Expat: /usr/local/lib/libexpat.dylib
-- Found Spatialindex: /usr/local/lib/libspatialindex.dylib
-- Found Qwt: /usr/local/lib/qwt.framework (6.0.1)
-- Found Sqlite3: /Library/Frameworks/SQLite3.framework
-- Found PostgreSQL: /usr/local/Cellar/postgresql/9.2.1/lib/libpq.dylib
-- Found SpatiaLite: /Library/Frameworks/SQLite3.framework
-- Touch support disabled
-- Pedantic compiler settings enabled
-- Debug output enabled
-- Found Python executable: /usr/local/bin/python
-- Found Python version: 2.7.3
-- Found Python library: -framework Python
-- Found SIP version: 4.13.3
-- Found PyQt4 version: 4.9.4
-- Found GSL: /Library/Frameworks/GSL.framework
-- txt2tags not found - disabled
-- Ctest Binary Directory  set to: /Users/varoudis/Desktop/Projects/Quantum-GIS/output/bin
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/varoudis/Desktop/Projects/Quantum-GIS



 27%] Building CXX object src/core/CMakeFiles/qgis_core.dir/flex_qgsexpressionlexer.cpp.o
cd /Users/varoudis/Desktop/Projects/Quantum-GIS/src/core && /usr/bin/c++   -Dqgis_core_EXPORTS -DQT_SVG_LIB -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_TEST_LIB -DQT_XML_LIB -DQT_SQL_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NO_CAST_TO_ASCII -DQGISDEBUG=1 -D_TTY_POSIX_ -D_HAVE_PTHREAD_ -DQT_DEBUG -g -fPIC -I/usr/local/Cellar/qt/4.8.3/include -F/usr/local/Cellar/qt/4.8.3/lib -I/usr/local/Cellar/qt/4.8.3/include/QtSvg -I/usr/local/Cellar/qt/4.8.3/include/QtWebKit -I/usr/local/Cellar/qt/4.8.3/include/QtGui -I/usr/local/Cellar/qt/4.8.3/include/QtTest -I/usr/local/Cellar/qt/4.8.3/include/QtXml -I/usr/local/Cellar/qt/4.8.3/include/QtSql -I/usr/local/Cellar/qt/4.8.3/include/QtNetwork -I/usr/local/Cellar/qt/4.8.3/lib/QtCore.framework/Headers -I/Users/varoudis/Desktop/Projects/Quantum-GIS -I/Users/varoudis/Desktop/Projects/Quantum-GIS/src/core -I/Users/varoudis/Desktop/Projects/Quantum-GIS/src/core/composer -I/Users/varoudis/Desktop/Projects/Quantum-GIS/src/core/pal -I/Users/varoudis/Desktop/Projects/Quantum-GIS/src/core/raster -I/Users/varoudis/Desktop/Projects/Quantum-GIS/src/core/renderer -I/Users/varoudis/Desktop/Projects/Quantum-GIS/src/core/symbology -I/Users/varoudis/Desktop/Projects/Quantum-GIS/src/core/symbology-ng -I/Users/varoudis/Desktop/Projects/Quantum-GIS/src/core/gps/qextserialport -I/Library/Frameworks/GEOS.framework/Headers -I/Library/Frameworks/PROJ.framework/Headers -I/Library/Frameworks/GDAL.framework/Headers -I/Library/Frameworks/SQLite3.framework/Headers    -Wall -Wextra -Wno-long-long -Wformat-security -Wno-strict-aliasing -DCORE_EXPORT= -DGUI_EXPORT= -DPYTHON_EXPORT= -DANALYSIS_EXPORT= -DTEST_DATA_DIR="\"/Users/varoudis/Desktop/Projects/Quantum-GIS/tests/testdata\"" -F/Library/Frameworks  -w -o CMakeFiles/qgis_core.dir/flex_qgsexpressionlexer.cpp.o -c /Users/varoudis/Desktop/Projects/Quantum-GIS/src/core/flex_qgsexpressionlexer.cpp
/Users/varoudis/Desktop/Projects/Quantum-GIS/src/core/qgsspatialindex.cpp:29:42: error: expected class name
class QgisVisitor : public SpatialIndex::IVisitor
                                         ^
/usr/local/Cellar/cmake/2.8.9/bin/cmake -E cmake_progress_report /Users/varoudis/Desktop/Projects/Quantum-GIS/CMakeFiles 
/Users/varoudis/Desktop/Projects/Quantum-GIS/src/core/qgsspatialindex.cpp:35:27: error: unknown type name 'INode'
    void visitNode( const INode& n )
                          ^
/Users/varoudis/Desktop/Projects/Quantum-GIS/src/core/qgsspatialindex.cpp:38:27: error: unknown type name 'IData'
    void visitData( const IData& d )
                          ^
/Users/varoudis/Desktop/Projects/Quantum-GIS/src/core/qgsspatialindex.cpp:43:39: error: unknown type name 'IData'
    void visitData( std::vector<const IData*>& v )
                                      ^
[ 27%] Building CXX object src/core/CMakeFiles/qgis_core.dir/qgsexpressionparser.cpp.o
cd /Users/varoudis/Desktop/Projects/Quantum-GIS/src/core && /usr/bin/c++   -Dqgis_core_EXPORTS -DQT_SVG_LIB -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_TEST_LIB -DQT_XML_LIB -DQT_SQL_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NO_CAST_TO_ASCII -DQGISDEBUG=1 -D_TTY_POSIX_ -D_HAVE_PTHREAD_ -DQT_DEBUG -g -fPIC -I/usr/local/Cellar/qt/4.8.3/include -F/usr/local/Cellar/qt/4.8.3/lib -I/usr/local/Cellar/qt/4.8.3/include/QtSvg -I/usr/local/Cellar/qt/4.8.3/include/QtWebKit -I/usr/local/Cellar/qt/4.8.3/include/QtGui -I/usr/local/Cellar/qt/4.8.3/include/QtTest -I/usr/local/Cellar/qt/4.8.3/include/QtXml -I/usr/local/Cellar/qt/4.8.3/include/QtSql -I/usr/local/Cellar/qt/4.8.3/include/QtNetwork -I/usr/local/Cellar/qt/4.8.3/lib/QtCore.framework/Headers -I/Users/varoudis/Desktop/Projects/Quantum-GIS -I/Users/varoudis/Desktop/Projects/Quantum-GIS/src/core -I/Users/varoudis/Desktop/Projects/Quantum-GIS/src/core/composer -I/Users/varoudis/Desktop/Projects/Quantum-GIS/src/core/pal -I/Users/varoudis/Desktop/Projects/Quantum-GIS/src/core/raster -I/Users/varoudis/Desktop/Projects/Quantum-GIS/src/core/renderer -I/Users/varoudis/Desktop/Projects/Quantum-GIS/src/core/symbology -I/Users/varoudis/Desktop/Projects/Quantum-GIS/src/core/symbology-ng -I/Users/varoudis/Desktop/Projects/Quantum-GIS/src/core/gps/qextserialport -I/Library/Frameworks/GEOS.framework/Headers -I/Library/Frameworks/PROJ.framework/Headers -I/Library/Frameworks/GDAL.framework/Headers -I/Library/Frameworks/SQLite3.framework/Headers    -Wall -Wextra -Wno-long-long -Wformat-security -Wno-strict-aliasing -DCORE_EXPORT= -DGUI_EXPORT= -DPYTHON_EXPORT= -DANALYSIS_EXPORT= -DTEST_DATA_DIR="\"/Users/varoudis/Desktop/Projects/Quantum-GIS/tests/testdata\"" -F/Library/Frameworks  -o CMakeFiles/qgis_core.dir/qgsexpressionparser.cpp.o -c /Users/varoudis/Desktop/Projects/Quantum-GIS/src/core/qgsexpressionparser.cpp
/Users/varoudis/Desktop/Projects/Quantum-GIS/src/core/qgsspatialindex.cpp:54:37: error: no member named 'createNewMemoryStorageManager' in namespace
      'SpatialIndex::StorageManager'
  mStorageManager = StorageManager::createNewMemoryStorageManager();
                    ~~~~~~~~~~~~~~~~^
/Users/varoudis/Desktop/Projects/Quantum-GIS/src/core/qgsspatialindex.cpp:60:30: error: no member named 'createNewRandomEvictionsBuffer' in namespace
      'SpatialIndex::StorageManager'
  mStorage = StorageManager::createNewRandomEvictionsBuffer( *mStorageManager, capacity, writeThrough );
             ~~~~~~~~~~~~~~~~^
/Users/varoudis/Desktop/Projects/Quantum-GIS/src/core/qgsspatialindex.cpp:67:3: error: use of undeclared identifier 'RTree'
  RTree::RTreeVariant variant = RTree::RV_RSTAR;
  ^
/Users/varoudis/Desktop/Projects/Quantum-GIS/src/core/qgsspatialindex.cpp:70:17: error: no member named 'id_type' in namespace 'SpatialIndex'
  SpatialIndex::id_type indexId;
  ~~~~~~~~~~~~~~^
/Users/varoudis/Desktop/Projects/Quantum-GIS/src/core/qgsspatialindex.cpp:71:12: error: use of undeclared identifier 'RTree'
  mRTree = RTree::createNewRTree( *mStorage, fillFactor, indexCapacity,
           ^
/Users/varoudis/Desktop/Projects/Quantum-GIS/src/core/qgsspatialindex.cpp:72:60: error: use of undeclared identifier 'variant'
                                  leafCapacity, dimension, variant, indexId );
                                                           ^
/Users/varoudis/Desktop/Projects/Quantum-GIS/src/core/qgsspatialindex.cpp:77:3: warning: deleting pointer to incomplete type 'SpatialIndex::ISpatialIndex' may cause
      undefined behaviour [-Wdelete-incomplete]
  delete mRTree;
  ^      ~~~~~~
/Users/varoudis/Desktop/Projects/Quantum-GIS/src/core/qgsspatialindex.h:23:9: note: forward declaration of 'SpatialIndex::ISpatialIndex'
  class ISpatialIndex;
        ^
/Users/varoudis/Desktop/Projects/Quantum-GIS/src/core/qgsspatialindex.cpp:78:3: warning: deleting pointer to incomplete type 'SpatialIndex::StorageManager::IBuffer' may
      cause undefined behaviour [-Wdelete-incomplete]
  delete mStorage;
  ^      ~~~~~~~~
/Users/varoudis/Desktop/Projects/Quantum-GIS/src/core/qgsspatialindex.h:29:11: note: forward declaration of 'SpatialIndex::StorageManager::IBuffer'
    class IBuffer;
          ^



More information about the Qgis-developer mailing list