wxMac - Xcode - OpenGL

Lisong lisong.sun at gmail.com
Wed Aug 1 14:12:28 PDT 2007


When you compile the wx library, did you specify the --with-opengl
option?
You need to set it and rebuild if didn't.

Lisong

On Aug 1, 12:56 am, barista <bari... at bluewin.ch> wrote:
> Hello,
> coming from Linux, I have successfully compiled the wxWidgets library
> (Intel iMac, OS 10.4.8, Xcode 2.4.1). Using the .xcodeproj in the
> minimal sample also compiled and ran. However, I was not able to make
> a Xcode project for the OpenGL samples. I set wxUSE_GLCANVAS to 1 in
> all the setup.h files I could find, but I get the     #error "OpenGL
> required: set wxUSE_GLCANVAS to 1 and rebuild the library" error. In
> src/build/Development are the libs libwx_mac_static.a and
> libwx_mac.dylib. Adding libwx_mac_gl-2.8.a from a terminal build had
> no effect. Does somebody have a .xcodeproj file for one of the OpenGL
> samples ? Or an idea what I'm doing wrong ?
>
> Thanks,
> M








More information about the wx-users mailing list