Open choretortle opened 3 years ago
After following the trail of the includes through the sound advice offered here: https://github.com/orangeduck/Corange/issues/66
I found myself in a chicken vs. egg dilemma. Apparently--although SDL targets MinGW with it's releases--this issue from 2016 is still encountered whether compiling on Linux for Windows, or on Windows for Windows, when using MinGW:
https://discourse.libsdl.org/t/glactivetexture-declaration/22001
For now, I've commented out the offending "GLAPI void GLAPIENTRY glActiveTexture( . . . . . ." , "GLAPI void GLAPIENTRY glCompressedTexImage2D( . . . . . .", "GLAPI void GLAPIENTRY glTexImage3D( . . . . . ." lines in SDL_opengl.h with success.
I plan to follow the advice in the link above and wrap it all together in a block of
#if !defined(__MINGW32__) [ . . . ] #endif
as that is the verified preset #define flag on at least the Windows .exe version of MinGW.
After following the trail of the includes through the sound advice offered here: https://github.com/orangeduck/Corange/issues/66
I found myself in a chicken vs. egg dilemma. Apparently--although SDL targets MinGW with it's releases--this issue from 2016 is still encountered whether compiling on Linux for Windows, or on Windows for Windows, when using MinGW:
https://discourse.libsdl.org/t/glactivetexture-declaration/22001
For now, I've commented out the offending "GLAPI void GLAPIENTRY glActiveTexture( . . . . . ." , "GLAPI void GLAPIENTRY glCompressedTexImage2D( . . . . . .", "GLAPI void GLAPIENTRY glTexImage3D( . . . . . ." lines in SDL_opengl.h with success.
I plan to follow the advice in the link above and wrap it all together in a block of
as that is the verified preset #define flag on at least the Windows .exe version of MinGW.