I tried all versions but when linking the fluid a got this message:

..(Fl_Preferences.cxx.o): undefined reference to symbol dlopen@@GLIBC_2.2.5'
 /usr/bin/ld: note: 'dlopen@@GLIBC_2.2.5' is defined in DSO
 /lib64/libdl.so.2 so try adding it to the linker command line
 /lib64/libdl.so.2: could not read symbols: Invalid operation

I found that in order to work -lpthread -ldl had to be passed to the gcc 
linker, so i added these lines in CMake:

+CMAKE
|-->CMAKE_CXX_FLAGS -lpthread -ldl
|-->CMAKE_C_FLAGS -lpthread -ldl

and then generate and rebuild.

the source for this solution i found it here: 
http://www.linuxforums.org/forum/programming-scripting/167385-c-code-link-error-need-help.html
_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to