I’m trying to compile a QT program on SuSE linux (Qt 4.3, Suse 10.3, NVidia drivers 180.22, OpenGL 2.1.2). I run the following code to generate the make files:
qmake -project -unix -after “QT += opengl”
qmake pathing.pro
make
the following error I get upon the make:
error: ‘glPointParameterf’ was not declared in this scope
the includes in the offending file are:
[b]#include <GL/gl.h>
#include <GL/glext.h>
#include <QGLWidget>
#include <QKeyEvent>
#include <cmath>[/b]
The problem seems similar to this forum post, but I have worked through that post and still have the same problem. I would appreciate any help or clarifications anyone could provide me, as I’m kinda at wit’s end.
Thanks a lot for helping out.