Hey,
I'm trying to compile an fltk opengl example.

I built it with:

sh configure --enable-gl --enable-threads

I added the lib and the include folder and set this flags:

$ fltk-config --use-gl --use-glut --cxxflags
-I/usr/local/include -mwindows -DWIN32 -mno-cygwin

$ fltk-config --use-gl --use-glut --ldflags
-L/usr/local/lib -lfltk_gl -lglu32 -lopengl32 -lfltk -mwindows -lole32 -luuid 
-lcomctl32 -lwsock32 -lsupc++

I'm not sure what to do, I tried to find a solution but I still have this error:

**** Internal Builder is used for build               ****
g++ -LC:/PROGRA~1/MSYS/local/lib -mwindows -shared -olibtest3.dll src\main.o 
-lfltk -lglu32 -lopengl32 -lfltk_gl -lole32 -luuid -lcomctl32 -lwsock32 -lsupc++
C:/PROGRA~1/MSYS/local/lib/libfltk_gl.a(Fl_Gl_Window.o):Fl_Gl_Window.cxx:(.text+0x268):
 undefined reference to [EMAIL PROTECTED]'
C:/PROGRA~1/MSYS/local/lib/libfltk_gl.a(Fl_Gl_Window.o):Fl_Gl_Window.cxx:(.text+0x277):
 undefined reference to [EMAIL PROTECTED]'
C:/PROGRA~1/MSYS/local/lib/libfltk_gl.a(Fl_Gl_Window.o):Fl_Gl_Window.cxx:(.text+0x2aa):
 undefined reference to [EMAIL PROTECTED]'
C:/PROGRA~1/MSYS/local/lib/libfltk_gl.a(Fl_Gl_Window.o):Fl_Gl_Window.cxx:(.text+0x3a9):
 undefined reference to [EMAIL PROTECTED]'
C:/PROGRA~1/MSYS/local/lib/libfltk_gl.a(Fl_Gl_Window.o):Fl_Gl_Window.cxx:(.text+0x409):
 undefined reference to [EMAIL PROTECTED]' AND SO ON!

Do I miss a flag? Thanks a lot for help.

Konstantin
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to