Strange Error in libGLU.so

HEllo, i’m starting programminig in Linux whit Open Gl at university.
I have a big problem: I work under KDevelop, and when i “Make” my project, the Gcc, return to me this error…

usr/X11R6/lib/libGLU.so.1: undefined reference to sqrt' /usr/X11R6/lib/libGLU.so.1: undefined reference to ceil’
/usr/X11R6/lib/libGLU.so.1: undefined reference to `floor’

I don’t know what it is… can you help me please??? Thanks Again
MAtteo -Italy-

Try add -lm.
( -lGL -lGLU -lm )

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