View Full Version : 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????
12-28-2005, 05:32 AM
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 libGL.so . 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 [libGL.so] library installed on your system
Powered by vBulletin® Version 4.2.2 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.