• Advertisement
Sign in to follow this  

SDL 1.2 for mingw64

This topic is 1363 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi

anyone knows of a SDL1.2 and SDL_image 1.2 for mingw64? Or how to build?

Thanks

 

Share this post


Link to post
Share on other sites
Advertisement
I haven't built SDL specifically but usually libraries will come either with a CMake configuration (in which case you just generate the desired build system of your choice) or Linux make files (if those don't work right out of the box in a Windows command line, use msys tied to your MinGW).

Share this post


Link to post
Share on other sites

Hi

anyone knows of a SDL1.2 and SDL_image 1.2 for mingw64? Or how to build?

Thanks

 

I have TDM64 installed in C:\MinGW. Change as necessary.

 

For SDL:

1) Get MSYS, unpack it under C:\MinGW, and change the contents of C:\MinGW\msys\etc\fstab to

c:/mingw        /mingw

2) Run C:\MinGW\msys\msys.bat, and unpack the SDL sources to your MSYS home folder (C:\MinGW\msys\home\<username>)

3) Build the library the usual way:

./configure

make

make install

4) The library files shoud be ready in C:\MinGW\msys\local

 

I just built the library and compiled a small test program with it - worked fine.

 

As for SDL_image, it should be a little more work since it depends on other libraries, but MSYS should enable you to build them all.

Share this post


Link to post
Share on other sites

Thanks, that seems to be a really neat tool. I only need libtga for sdl_image, but I get errors. Anyone could build those 3 libs for me?

Thanks again

Edited by FGFS

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement