Compilation error with Debian 6.0 (squeeze)


niryk - Posted on 08 September 2011

The error message I get is

[...]
g++ -Wl,-O1 -o ../../bin/linux/sgems ../../bin/linux/obj/main/lib_initializer.o ../../bin/linux/obj/main/main.o -L/usr/lib -L/home/nir/sgems/sgems/lib/linux -L/usr/lib -lpython2.6 -L/tools/designer/uilib -lGsTLAppli_utils -lGsTLAppli_appli -lGsTLAppli_math -lGsTLAppli_grid -lGsTLAppli_geostat -lGsTLAppli_filters -lGsTLAppli_gui -lGsTLAppli_actions -lGsTLAppli_extragui -lqwt -L/home/nir/sgems/sgems/plugins/designer -lGsTLwidgets -lCoin -lSoQt -lSimVoleon -lpthread -lQtGui -lQtCore
/home/nir/sgems/sgems/lib/linux/libGsTLAppli_gui.so: undefined reference to `About_sgems::About_sgems(QWidget*)'

collect2: ld returned 1 exit status
make[2]: *** [../../bin/linux/sgems] Error 1
make[2]: Leaving directory `/home/nir/sgems/sgems/GsTLAppli/main'
make[1]: *** [sub-main-make_default] Error 2
make[1]: Leaving directory `/home/nir/sgems/sgems/GsTLAppli'
make: *** [sub-GsTLAppli-make_default] Error 2

I followed the instructions for Ubuntu at http://imgp.imm.dtu.dk/compile_sgems.php/ , downloading the current SGeMS version from the Subversion repository.

Any ideas would be appreciated.

Nir

..
Sorry my fault. The modified gui.pro file was not commited. Update the file GsTLAppli/gui/gui.pro and try again.
It compiles now

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.