gerbilvis / gerbil

Gerbil Hyperspectral Visualization and Analysis Framework
http://gerbilvis.org
GNU General Public License v3.0
43 stars 15 forks source link

error during make ubunu 18.04 #38

Closed fp30 closed 5 years ago

fp30 commented 5 years ago

Hi, I am getting an error at the end of the make script that reads [ 97%] Linking CXX executable ../../bin/qgerbil /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o: In function _start': (.text+0x20): undefined reference tomain' collect2: error: ld returned 1 exit status gerbil-master/gui/CMakeFiles/qgerbil.dir/build.make:277: recipe for target 'bin/qgerbil' failed make[2]: [bin/qgerbil] Error 1 CMakeFiles/Makefile2:446: recipe for target 'gerbil-master/gui/CMakeFiles/qgerbil.dir/all' failed make[1]: [gerbil-master/gui/CMakeFiles/qgerbil.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2 Can you help with this? Thanks

ypnos commented 5 years ago

I can confirm the problem, I guess it is caused by some change in CMake, but not sure yet.

ypnos commented 5 years ago

I committed a fix, please try current master. Thank you!

fp30 commented 5 years ago

works now, thanks!