Hi all!

This is my first post :)

I would submit a little bug with configure and makefile.

I've tried to compile FLTK 2.0.x-r6841 downloaded from here [1] with the 
following parameters:

./configure --prefix=/opt/FLTK2.0 --disable-gl --with-optim=-Os 
--x-libraries=/usr/lib --x-includes=/usr/include

The configure is executed fine, but when it tries to compile glpuzzle, it 
raises some errors:
=== making glut ===
Compiling glut_compatability.cxx...
Compiling glut_font.cxx...
/usr/bin/ar cr ../lib/libfltk2_glut.a ...
Compiling glpuzzle.cxx...
Linking glpuzzle...
glpuzzle.o: In function `Reshape(int, int)':
glpuzzle.cxx:(.text+0x632): undefined reference to `glViewport'
glpuzzle.o: In function `changeState()':
glpuzzle.cxx:(.text+0x67e): undefined reference to `glutIdleFunc(void (*)())'
glpuzzle.o: In function `computeCoords(int, int, int, float*, float*)':
glpuzzle.cxx:(.text+0x83c): undefined reference to `glGetFloatv'
glpuzzle.cxx:(.text+0x852): undefined reference to `glGetFloatv'
glpuzzle.o: In function `reset()':
[...]

I omit all the output, since it seems that it doesn't find the GL library. But 
I wouldn't have compiled file using GL, since I've "disabled it".

However, to complete the make, I've just recompiled all using 'gl' :)

Bye :)


[1] : http://www.fltk.org/software.php


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

Reply via email to