Pelles C forum

C language => Graphics programming => Topic started by: siwenjo on January 06, 2014, 11:14:24 pm

Title: SDL2, SDL2_tff and SDL2Image; how to setup for 64 bit?
Post by: siwenjo on January 06, 2014, 11:14:24 pm
I am trying to figure out how to set up SDL2, SDL2_ttf, SDL2_Image to compile 64 bit openGL programs in PellesC. I have PellesC compiling 64 bit programs; that is not the issue.

I have the SDL2 sources and they have makefiles. Can pomake build from these? If so how using the command line? There seems to be discussion over Pellesc not interfacing with WinMain.

I see timovjl has provided the dll and lib for SDL2 64 bit but the headers he used do not include the SDL_opengl.h or the other GLES headers.

I don't suppose PellesC would provide the binaries in the way MCVS and mingw do, or at least a definitive account of how to compile them in PellesC? I would be happy to write it all up if someone would walk me through what needs to be done.