Hi,
I’m currently learning OpenGL/GLUT on a Solaris system and tried to make my program run on my Linux PC at home – it runs but there is no light…
Am i forgetting some library during compilation?
That should not be a linking problem. The only things I can think of are:
Buggy OpenGL implementation (under either system - most likely Linux)
You are violating some limitation of the Linux OpenGL implementation (different implementations have diffrent limits, e.g. matrix stack depth, maximum number of light sources, maximum texture size etc).
You are using different OpenGL versions, and your program requires a certain OpenGL version to work (less likely, since you would normally get a compile time error if you use the wrong OpenGL version)