hmm everything else seems to be working.

compiling like gcc fog.c -L/usr/X11R6/lib -lglut -lGLU -lGL -lX11

now for some reason in my display function im getting errors when i try to call
renderSphere(-2., -0.5, -1.0);

"undefined reference to ‘renderSphere’ "

i must be missing some libs, anyone know which rpms i might be missing which contain these libs?
using mandrake 7.2

I’m sorry, but “renderSphere” isn’t part of any library that I know of (and I do know quite a few).

I think you’re either missing some .c files or you’ll need to write it yourself.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.