[GRASS-dev] TOGL issue - was Re: nviz link broken

Markus Neteler neteler at itc.it
Mon Jun 12 12:27:21 EDT 2006


On Mon, Jun 12, 2006 at 05:44:02PM +0200, Markus Neteler wrote:
> On Tue, Jun 13, 2006 at 02:50:59AM +1200, Hamish wrote:
> > http://grass.itc.it/grass61/manuals/html61_user/
> > 
> > nviz link is broken?
> 
> Yes. This means that the compilation of the Linux snapshot failed.
> Verification:
>  http://grass.itc.it/grass61/binary/linux/snapshot/error.log
>  -> apparently there are/were compilation issues.
> 
> I can try to investigate.

Done:

make[3]: Entering directory `/hardmnt/krokus0/neteler/grass61binarybuild/grass6/grass6/visualization/nviz/src'
gcc -I/hardmnt/krokus0/neteler/grass61binarybuild/grass6/grass6/dist.x86_64-unknown-linux-gnu/include  -O2       -I/hardmnt/krokus0/neteler/grass61binarybuild/grass6/grass6/dist.x86_64-unknown-linux-gnu/include    -I/usr/local/include  -DUSE_X11=    -DPACKAGE=\""grassmods"\"  -I/hardmnt/krokus0/neteler/grass61binarybuild/grass6/grass6/dist.x86_64-unknown-linux-gnu/include \
        -o OBJ.x86_64-unknown-linux-gnu/nvizAppInit.o -c nvizAppInit.c
In file included from togl.h:16,
                 from nvizAppInit.c:8:
togl_ws.h:5:12: #if with no expression
In file included from nvizAppInit.c:8:
togl.h:51:27: OpenGL/gl.h: No such file or directory
In file included from nvizAppInit.c:8:
togl.h:165: error: syntax error before "Togl_LoadBitmapFont"
togl.h:165: warning: data definition has no type or storage class
togl.h:166: error: syntax error before "GLuint"
togl.h:215: error: syntax error before "left"
make[3]: *** [OBJ.x86_64-unknown-linux-gnu/nvizAppInit.o] Error 1
make[3]: Leaving directory `/hardmnt/krokus0/neteler/grass61binarybuild/grass6/grass6/visualization/nviz/src'


This cannot work since the gl.h file is here:
/usr/include/GL/gl.h

rpm -qf /usr/include/GL/gl.h
xorg-x11-devel-6.8.2-1.EL.13.25

I guess I missed the related discussion recently.
According to the ChangeLog it is related to Glynn's TOGL
update.

The machine is based on Redhat Enterprise 4.

Markus




More information about the grass-dev mailing list