[Solved] MaxGUI FLTK link error
BlitzMax Forums/MaxGUI Module/[Solved] MaxGUI FLTK link error
| ||
/BlitzMax/mod/maxgui.mod/fltkmaxgui.mod/fltkmaxgui.release.linux.x86.a(Fl_Preferences.cxx.release.linux.x86.o): undefined reference to symbol 'dlopen@@...' //lib/i386-linux-gnu/libdl.so.2: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status I already rebuild my modules and downloaded some essentials but I'm still getting this error. Other sample works that are not maxgui. Any ideas? Edit: Added this to maxgui.bmx Import "-lfontconfig" and Import "-ldl" to appstub.bmx |
| ||
Why not use Gtkmaxgui? Fltk doesn't have a native appearance and it's only real benefit is it will run on non-Gtk distros but Afaik most people use Gtk anyway, probably because it looks better than Kde. |
| ||
Actually, it is not by choice. I just tried to build one of the maxgui examples and it happens to be set to fltk. :) |