C.W.Holeman II wrote: > g++ hello.cxx ../Graph.cpp ../Simple_window.cpp -lfltk_images -lfltk > > produces: > > /tmp/ccBlyRgP.o: In function `main': > hello.cxx:(.text+0x44): undefined reference to `fltk::Window::Window(int, > ...
I've got the same problem. I tried fltk 1.3 and fltk 2. If the library name isn't right, I get an error message. If I damage the library (replace it with some idiotic text), I get an error message. If every thing seems OK, the library seems to be ignored. Linking with -t lists all libraries specified before and after the fltk library, but not that one. e.g. ld -t -lpthread -lfltk2 -lXinemera ... /lib64/libpthread.so.0 -lXinerama (/usr/lib64/gcc/ ... /lib64/libXinerama.so) libfltk2.a is not listed. using --no-demangle with ld and nm yields, that the unresolved symbols ld complains, are defined in the library. Any suggestions? Dieter _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

