wxMac - Xcode - OpenGL

barista barista at bluewin.ch
Wed Aug 1 00:56:45 PDT 2007


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