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

[STR New]

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


Macro B. reports that when he configured FLTK2 with gl disabled, build
would fail during the build of glut/glpuzzle.cxx. He used:

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

..and got:
>> 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*)':
[..etc..]

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.


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

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

Reply via email to