[QGIS-trac] [Quantum GIS] #2062: Georeferencing plugin fails to build on OS X

Quantum GIS qgis at qgis.org
Sat Nov 7 17:37:53 EST 2009


#2062: Georeferencing plugin fails to build on OS X
---------------------------------------------------------+------------------
   Reporter:  jctull                                     |              Owner:  nobody       
       Type:  bug                                        |             Status:  new          
   Priority:  critical: causes crash or data corruption  |          Milestone:  Version 1.4.0
  Component:  Build/Install                              |            Version:  HEAD         
   Keywords:  georeference plugin build                  |   Platform_version:  10.6.1       
   Platform:  OS X                                       |           Must_fix:  Yes          
Status_info:  0                                          |  
---------------------------------------------------------+------------------
 I get the following error during compilation on my system:

 [ 89%] Building CXX object
 src/plugins/georeferencer/CMakeFiles/georefplugin.dir/qgsleastsquares.o
 /Users/jctull/sources/qgis/trunk/src/plugins/georeferencer/qgsleastsquares.cpp:19:28:
 error: gsl/gsl_linalg.h: No such file or directory
 In file included from
 /Library/Frameworks/QtCore.framework/Headers/qnamespace.h:45,
                  from
 /Library/Frameworks/QtCore.framework/Headers/qobjectdefs.h:45,
                  from
 /Library/Frameworks/QtCore.framework/Headers/qobject.h:47,
                  from
 /Library/Frameworks/QtCore.framework/Headers/QObject:1,
                  from
 /Users/jctull/sources/qgis/trunk/src/plugins/georeferencer/qgsleastsquares.cpp:21:
 /Library/Frameworks/QtCore.framework/Headers/qglobal.h:315:6: warning:
 #warning "Support for this version of Mac OS X is still preliminary"
 /Users/jctull/sources/qgis/trunk/src/plugins/georeferencer/qgsleastsquares.cpp:
 In static member function ‘static void
 QgsLeastSquares::helmert(std::vector<QgsPoint, std::allocator<QgsPoint> >,
 std::vector<QgsPoint, std::allocator<QgsPoint> >, QgsPoint&, double&,
 double&)’:
 /Users/jctull/sources/qgis/trunk/src/plugins/georeferencer/qgsleastsquares.cpp:106:
 error: ‘gsl_matrix_view’ was not declared in this scope
 /Users/jctull/sources/qgis/trunk/src/plugins/georeferencer/qgsleastsquares.cpp:106:
 error: expected `;' before ‘M’
 /Users/jctull/sources/qgis/trunk/src/plugins/georeferencer/qgsleastsquares.cpp:107:
 error: ‘gsl_vector_view’ was not declared in this scope
 /Users/jctull/sources/qgis/trunk/src/plugins/georeferencer/qgsleastsquares.cpp:107:
 error: expected `;' before ‘b’
 /Users/jctull/sources/qgis/trunk/src/plugins/georeferencer/qgsleastsquares.cpp:108:
 error: ‘gsl_vector’ was not declared in this scope
 /Users/jctull/sources/qgis/trunk/src/plugins/georeferencer/qgsleastsquares.cpp:108:
 error: ‘x’ was not declared in this scope
 /Users/jctull/sources/qgis/trunk/src/plugins/georeferencer/qgsleastsquares.cpp:108:
 error: ‘gsl_vector_alloc’ was not declared in this scope
 /Users/jctull/sources/qgis/trunk/src/plugins/georeferencer/qgsleastsquares.cpp:109:
 error: ‘gsl_permutation’ was not declared in this scope
 /Users/jctull/sources/qgis/trunk/src/plugins/georeferencer/qgsleastsquares.cpp:109:
 error: ‘p’ was not declared in this scope
 /Users/jctull/sources/qgis/trunk/src/plugins/georeferencer/qgsleastsquares.cpp:109:
 error: ‘gsl_permutation_alloc’ was not declared in this scope
 /Users/jctull/sources/qgis/trunk/src/plugins/georeferencer/qgsleastsquares.cpp:111:
 error: ‘M’ was not declared in this scope
 /Users/jctull/sources/qgis/trunk/src/plugins/georeferencer/qgsleastsquares.cpp:111:
 error: ‘gsl_linalg_LU_decomp’ was not declared in this scope
 /Users/jctull/sources/qgis/trunk/src/plugins/georeferencer/qgsleastsquares.cpp:112:
 error: ‘b’ was not declared in this scope
 /Users/jctull/sources/qgis/trunk/src/plugins/georeferencer/qgsleastsquares.cpp:112:
 error: ‘gsl_linalg_LU_solve’ was not declared in this scope
 /Users/jctull/sources/qgis/trunk/src/plugins/georeferencer/qgsleastsquares.cpp:113:
 error: ‘gsl_permutation_free’ was not declared in this scope
 /Users/jctull/sources/qgis/trunk/src/plugins/georeferencer/qgsleastsquares.cpp:115:
 error: ‘gsl_vector_get’ was not declared in this scope
 /Users/jctull/sources/qgis/trunk/src/plugins/georeferencer/qgsleastsquares.cpp:
 In static member function ‘static void
 QgsLeastSquares::affine(std::vector<QgsPoint, std::allocator<QgsPoint> >,
 std::vector<QgsPoint, std::allocator<QgsPoint> >)’:
 /Users/jctull/sources/qgis/trunk/src/plugins/georeferencer/qgsleastsquares.cpp:165:
 error: ‘gsl_matrix_view’ was not declared in this scope
 /Users/jctull/sources/qgis/trunk/src/plugins/georeferencer/qgsleastsquares.cpp:165:
 error: expected `;' before ‘M’
 /Users/jctull/sources/qgis/trunk/src/plugins/georeferencer/qgsleastsquares.cpp:166:
 error: ‘gsl_vector_view’ was not declared in this scope
 /Users/jctull/sources/qgis/trunk/src/plugins/georeferencer/qgsleastsquares.cpp:166:
 error: expected `;' before ‘b’
 /Users/jctull/sources/qgis/trunk/src/plugins/georeferencer/qgsleastsquares.cpp:167:
 error: ‘gsl_vector’ was not declared in this scope
 /Users/jctull/sources/qgis/trunk/src/plugins/georeferencer/qgsleastsquares.cpp:167:
 error: ‘x’ was not declared in this scope
 /Users/jctull/sources/qgis/trunk/src/plugins/georeferencer/qgsleastsquares.cpp:167:
 error: ‘gsl_vector_alloc’ was not declared in this scope
 /Users/jctull/sources/qgis/trunk/src/plugins/georeferencer/qgsleastsquares.cpp:168:
 error: ‘gsl_permutation’ was not declared in this scope
 /Users/jctull/sources/qgis/trunk/src/plugins/georeferencer/qgsleastsquares.cpp:168:
 error: ‘p’ was not declared in this scope
 /Users/jctull/sources/qgis/trunk/src/plugins/georeferencer/qgsleastsquares.cpp:168:
 error: ‘gsl_permutation_alloc’ was not declared in this scope
 /Users/jctull/sources/qgis/trunk/src/plugins/georeferencer/qgsleastsquares.cpp:170:
 error: ‘M’ was not declared in this scope
 /Users/jctull/sources/qgis/trunk/src/plugins/georeferencer/qgsleastsquares.cpp:170:
 error: ‘gsl_linalg_LU_decomp’ was not declared in this scope
 /Users/jctull/sources/qgis/trunk/src/plugins/georeferencer/qgsleastsquares.cpp:171:
 error: ‘b’ was not declared in this scope
 /Users/jctull/sources/qgis/trunk/src/plugins/georeferencer/qgsleastsquares.cpp:171:
 error: ‘gsl_linalg_LU_solve’ was not declared in this scope
 /Users/jctull/sources/qgis/trunk/src/plugins/georeferencer/qgsleastsquares.cpp:172:
 error: ‘gsl_permutation_free’ was not declared in this scope
 make[2]: ***
 [src/plugins/georeferencer/CMakeFiles/georefplugin.dir/qgsleastsquares.o]
 Error 1
 make[1]: *** [src/plugins/georeferencer/CMakeFiles/georefplugin.dir/all]
 Error 2
 make: *** [all] Error 2

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/2062>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list