OpenGL Demo Build Error

I’m trying to include the OpenGL Demo from the jucedemo into my project but getting some build errors!. I have all the modules required, created my project with the latest introjucer.

[code]class DemoOpenGLCanvas : public Component,
public OpenGLRenderer,
public Timer



Above code is from the juce opengl demo, but getting the following errors in my project

error C2504: ‘OpenGLRenderer’ : base class undefined
error C2259: ‘juce::OpenGLContext’ : cannot instantiate abstract class

Any ideas? Cheers.

If it’s not defined, then you either haven’t added the opengl module, or haven’t included its header somehow.

my mistake, i was adding the modules from an older version. Thanks jules