| Summary: | GLhandleARB double symbol definition on Mac OSX Lion | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Joé Dupuis <joe.dupuis> |
| Component: | video | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | icculus, Jack.Jansen |
| Version: | 2.0.0 | ||
| Hardware: | x86_64 | ||
| OS: | Mac OS X (All) | ||
| Attachments: | Mercurial bundle for the GLhandleARB double symbol definition | ||
*** Bug 1255 has been marked as a duplicate of this bug. *** This was fixed in hg changeset 68eb59d8baed. Thanks! --ryan. |
Created attachment 650 [details] Mercurial bundle for the GLhandleARB double symbol definition SDL 1.3 is not building on Mac OSX 10.7 because there is a double symbol definition of GLhandleARB in SDL_OpenGL.h (from the include folder). It looks like GLhandleARB is always defined on Lion regardless of whether GL_ARB_shader_objects is defined or not (in glext.h or gltype.h depending on the case). So I striped out with preprocessor (on OSX 10.7 and later only) the GLhandleARB declaration in SDL_OpenGL.h and included the new required opengl header file. I am not sure if it was the right thing to do, but in case it was, I attached my patch as a mercurial bundle to this bug report. I hope it helped!