DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2487
Version: 2.0-current


When building FLTK2.0 on Win. XP using MinGW and compiling shared
libraries, fltk2_glut.dll fails with undefined references to
fltk::GlWindow (and multiple other fltk objects from within the fltk2_gl
library).

This looks like it was nothing more than an oversight - glut/Makefile has
been set up to correctly build the required .dll, but a typo seemingly
caused it to link against LINKFLTK instead of LINKFLTKGL. The attached
patch will take care of this!


Link: http://www.fltk.org/str.php?L2487
Version: 2.0-current
Index: glut/Makefile
===================================================================
--- glut/Makefile       (revision 8026)
+++ glut/Makefile       (working copy)
@@ -109,7 +109,7 @@
 
 ../lib/fltk2_glut.dll: $(OBJECTS)
        echo $(DSOCOMMAND) $@ ...
-       $(DSOCOMMAND) $@ $(OBJECTS) $(IMAGELIBS) $(LOCAL_IMAGELIBS) $(LINKFLTK) 
$(GLDLIBS)
+       $(DSOCOMMAND) $@ $(OBJECTS) $(IMAGELIBS) $(LOCAL_IMAGELIBS) 
$(LINKFLTKGL) $(GLDLIBS)
        cp ../lib/fltk2_glut.dll ./
 
 #
_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to