Install OpenGL in Knoppix

I have knoppix installed into hd, and I need opengl header files and etc…

With glut i received several errors like “undefined reference to glMatrixMode',glTranslatef’” why???

ok, in your question you are confusing 2 different issues: 1. “OpenGL headers” 2. “undefined reference to `gl…”


  1. OpenGL headers are usually installed in

  2. “undefined reference” is a LINKING error message
    comming from the linker [obviously] - meaning that the linker can’t find the required object files or libraries [or symbols in them]. In your case the symbols from the . There could be different reasons for that: a) you didn’t specify the library: -lGL , b) you did specify the library, but the linker can not find it, then providing the path to the library dir can help: -L/path/to/the/lib like: -L/usr/X11/lib might help
    or c) there is no OpenGL [] library installed on your system

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