Bug report #2062

Georeferencing plugin fails to build on OS X

Added by John Tull about 15 years ago. Updated almost 15 years ago.

Status:Closed
Priority:Low
Assignee:nobody -
Category:Build/Install
Affected QGIS version: Regression?:No
Operating System:OS X Easy fix?:No
Pull Request or Patch supplied: Resolution:invalid
Crashes QGIS or corrupts data: Copied to github as #:12122

Description

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
maker2: * [src/plugins/georeferencer/CMakeFiles/georefplugin.dir/qgsleastsquares.o] Error 1
maker1:
[src/plugins/georeferencer/CMakeFiles/georefplugin.dir/all] Error 2
make: *
* [all] Error 2

History

#1 Updated by John Tull almost 15 years ago

  • Resolution set to invalid
  • Status changed from Open to Closed

I am no longer having this problem. It appeared to be a problem with a bad gsl build. Closed

Also available in: Atom PDF