Seems like your system doesn't have openGL or glut installed.
Ubuntu doesn't come with much, so you have to usually install
such things manually, probably something like:

        apt-get install libglut3-dev

..you might need a slightly different package name for your
system.

Either that, or if you don't want to install opengl/glut
and don't need it, you can build fltk with opengl support disabled
by specifying the --disable-gl flag to configure, eg:

        ./configure --disable-gl
        make clean
        make


Ian wrote:
> Hi everyone,
> 
> Can someone help to solve installation issues.
> Here i my problems:
> === making src ===
> === making images/libjpeg ===
> === making images/libpng ===
> === making images ===
> === making OpenGL ===
> === making fluid ===
> === making glut ===
> Compiling glpuzzle.cxx...
> In file included from ../fltk/glut.h:49,
>                  from glpuzzle.cxx:35:
> ./fltk/gl.h:69:21: error: GL/gl.h: No such file or directory
> glpuzzle.cxx:39:40: error: GL/glu.h: No such file or directory
> In file included from ../fltk/glut.h:49,
>                  from glpuzzle.cxx:35:
> ./fltk/gl.h: In function ‘void fltk::glfillrect(int, int, int, int)’:
> ./fltk/gl.h:92: error: ‘glRecti’ was not declared in this scope
> In file included from glpuzzle.cxx:35:
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to