Well I’m getting closer!
I managed to get my head around installing xFree4.0.1 and I’ve got the glut and glu libs and header files.
Compilation of the simplest program goes well, but ‘ld’ can’t link the object code to the gl libraries.
The -L params are set correctly, take a look.
gcc program.c -I/usr/local/include -I/usr/X11R6/include -L/usr/local/lib -L/usr/X11R6/lib -lglut -glu -gl -o program
The linker reckons it can’t find ‘lglut’, if I change the order of the library declarations, it says it can’t find whichever comes first in the list.
Now I double checked and everything IS where its supposed to be - so anyone know whats going on?