Opened 14 years ago

Closed 14 years ago

#2062 closed bug (invalid)

Georeferencing plugin fails to build on OS X

Reported by: jctull Owned by: nobody
Priority: critical: causes crash or data corruption Milestone: Version 1.4.0
Component: Build/Install Version: Trunk
Keywords: georeference plugin build Cc:
Must Fix for Release: Yes Platform: OS X
Platform Version: 10.6.1 Awaiting user input: no

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 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

Change History (1)

comment:1 by jctull, 14 years ago

Resolution: invalid
Status: newclosed

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

Note: See TracTickets for help on using tickets.