Hi there,
I am trying to use an OpenGLComponent for plotting signals and
got stuck at the very start.
The problem is that I somehow can't even inherit a OpenGLComponent class.
On Linux I am adding:
------------------------
#include <GL/gl.h>
#include <GL/glut.h>
------------------------
to my main component header.
I then define a class based on OpenGLComponent, like in most examples:
------------------------------------------------------------------------
class MyOpenGLCanvas : public OpenGLComponent,public Timer
{
public:
MyOpenGLCanvas();
~MyOpenGLCanvas();
void newOpenGLContextCreated();
void renderOpenGL();
void timerCallback();
};
------------------------------------------------------------------------
The compiler hower does not want that, as if OpenGLComponent was not known:
../../Source/MainComponent.h:20:47: error: expected class-name before ‘,’ token
What am I missing - add something in the Introjucer settings, .. ?
Thanks in advance!