I’m trying to compile and link an opengl program using the gcc compiler on a LINUX machine. I keep getting this error: /usr/lib/libGL.os … undeclared identifier ‘pow’
I’m using these include files in my program: GL/glx.h and GL/gl.h
This happens whenever I use -lGL option. Has anyone ever seen this before or knows how to fix it?