First thing that has to be fixed is#elif defined( MACOS_X )
As far as I see, this macro is defined in XCode projects.
Probably it's better to use __APPLE__. In one place it even checks for either macro to be present.
However, there are already too many usages of MACOS_X in the code, so changing all of them does not sound like a good idea.
I have added automatic setting of MACOS_X macro in sys_public.h, which is included at the very beginning of precompiled header.
Committed in svn rev 7492.
I hope this will cover all places where MACOS_X is used, or at least most of them.
EDIT Btw which opengl version is required by TDM, anything newer then opengl 4.1? Because i keep on hitting problems in qgl.h, see the attached log output.
It uses something like OpenGL 2.1 with some extensions from OpenGL 3.0. Currently OpenGL 3.0 should be absolutely enough to run everything in TDM.
These errors say that typedefs for function pointers are undefined. These typedefs must be defined in glext.h header (the one which declared OpenGL extensions).
This header is located inside renderer directory, and it should be included from qgl.h.
Check qgl.h file: perhaps there is some ugly hack which blocks the include.