Greg Ercolano wrote:
> marco b. wrote:
>> 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 can confirm this problem with the latest SVN.
>
> Before I updated to latest SVN, I could not get this to happen,
> so it must be something introduced recently.
Apparently there are two glpuzzle.cxx's now:
./test/glpuzzle.cxx
./glut/glpuzzle.cxx
The one in ./glut is missing the "#ifdef !HAVE_GL.." which
seems to be the problem.
But this might be on purpose, since the Makefile seems
to maybe be coded to want skip building the entire glut directory
if GL is disabled, but maybe due to a logic problem in the Makefile
it goes ahead and builds the glut dir anyway.
So the problem /might/ be in the Makefile.
I've filed an STR on your behalf:
http://www.fltk.org/str.php?L2239
I suggest you add a comment to the STR so that you're included
on the emails for it.
_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs