View Full Version : libGL error

02-23-2002, 08:02 AM
I have recently begun coding GLUT in Linux and using Kdevelop. I have all of my libraries referenced and am able to compile asteroids.c that came with the GLUT download as an example. I am now attempting to initialize my own window.
Everything compiles fine and makes fine but when i run it i get an error while loading the shared library : libGL.so.1.2.030402. it says undefined symbol: pow.
I thought there might be something with the library but after compiling the asteroids example i saw there was not (i loaded the library just fine.)



02-23-2002, 11:14 AM
Sounds like you forgot to link in the math library: -lm on the command line.

02-23-2002, 02:19 PM
Thanks. that was it.