SDL OpenGL Typedef Redefinition Error on Mac OS X 10.7

November 7th, 2011

Filed under: Game Development, Mac Development, OpenGL, SDL | 3 comments

If you build a SDL OpenGL application for Mac OS X using SDL 1.2.14 (using the binary installer at the SDL site) and the Mac OS X 10.7 SDK, you can get the following error: typedef redefinition with different types (‘unsigned int’ vs ‘void *’) The SDL header file SDL_opengl.h and the OpenGL header file […]

OpenGL Profiler Workaround

January 10th, 2010

Filed under: Mac Development, OpenGL | Be the first to comment!

I ran into a problem with OpenGL Profiler 4.2 on Snow Leopard. I would profile an application and pause profiling so I could look at the OpenGL statistics. When I opened the statistics window, it was blank. The trace window was also blank, and I had selected the Collect Trace checkbox in OpenGL Profiler’s main […]