John
2010-03-30 15:41:39 UTC
Hi,
I'm trying to write an application based on wxWidgets OpenGL classes
So I have downloaded wxWidgets 2.9.0 for windows and compiled it
( latest mingw ) with the required switches :
In config.gcc USE_OPENGL = 1
In setup.h #define wxUSE_GLCANVAS 1
Compilation was smooth and I can run all application UNLESS they use
wxWidgets opengl classes.... !
For example with the following class :
#include <wx/wx.h>
#include <wx/glcanvas.h>
class MyCanvasOpenGL : public wxGLCanvas
{
public:
..... };
Compiler says :
`MyCanvasOpenGL' does not have any field named `wxGLCanvas'
I've checked that all headers are there ( in wxWidgets/include
and mingw/iclude/gl ), Have also checked libraries : it seems to be
OK.
Does anybody have an idea ?
Thanx
John
I'm trying to write an application based on wxWidgets OpenGL classes
So I have downloaded wxWidgets 2.9.0 for windows and compiled it
( latest mingw ) with the required switches :
In config.gcc USE_OPENGL = 1
In setup.h #define wxUSE_GLCANVAS 1
Compilation was smooth and I can run all application UNLESS they use
wxWidgets opengl classes.... !
For example with the following class :
#include <wx/wx.h>
#include <wx/glcanvas.h>
class MyCanvasOpenGL : public wxGLCanvas
{
public:
..... };
Compiler says :
`MyCanvasOpenGL' does not have any field named `wxGLCanvas'
I've checked that all headers are there ( in wxWidgets/include
and mingw/iclude/gl ), Have also checked libraries : it seems to be
OK.
Does anybody have an idea ?
Thanx
John