C++ Templates for XCode 3.2
November 19th, 2009
Here are a couple of Project templates I made for XCode 3.2. One for a WxWidgets based project (wxMac 2.8), and one for a GLUT project. Hope they work.
- GLUT C++ Project – Initializes GLUT and creates a scene containing a cube which can be rotated using the keyboard arrow keys. toggle an axis widget using ‘w’, toggle fullscreen using ‘o’ and exit using ESC. The FPS is displayed in the titlebar.
- WxWidgets C++ Project – Initializes a WxWidgets based app with an empty frame.

Awesome! I’ve been looking for a wxWidgets sample project for XCode 3.2.1 and this works perfectly. The WxWiki documentation for setting up WxWidgets in Xcode is hopelessly outdated and didn’t work for me. At least now I have a working template project.
Cheers,
David V.
Thanks!! I couldn’t figure out how to include the wxwidgets library, so this solved my problem! You’ve been bookmarked!