wx2.8.0 OpenGL support

Vadim Zeitlin vadim at wxwindows.org
Sun Feb 11 05:43:42 PST 2007


On Sun, 11 Feb 2007 13:39:09 +0000 Leslie Newell <lesnewell at fmail.co.uk> wrote:

LN> I am having trouble compiling OpenGL support in wxmsw-2.8.0. I set 
LN> USE_OPENGL = 1 in config.vc. The libraries are being compiled but 
LN> wxUSE_GLCANVAS is not being defined.

 This doesn't work automatically like this (unfortunately). It probably
should.

LN> If I manually edit ..\lib\vc_dll\mswud\wx\setup.h and change
LN> wxUSE_GLCANVAS to 1 and re-run nmake(don't know if this step is
LN> actually needed) then it works.

 Yes, it's needed. But you may want to change include\wx\msw\setup.h so
that wxUSE_GLCANVAS is set for all configurations, not just the Unicode
Debug DLL one.

 Regards,
VZ

-- 
TT-Solutions: wxWidgets consultancy and technical support
               http://www.tt-solutions.com/





More information about the wx-users mailing list