[Failed] Windows compile SDL source code (MINGW)

The system is Win7 32-bit. For various reasons, I want to compile the library of the mingw version of SDL, so I have tossed it for a while.

Install MINGW according to https://blog.csdn.net/qq_36113711/article/details/72778496.

Download the source code of SDL2.

Enter C:\MinGW\msys\1.0, open msys.bat, and then use the command line to transfer to the SDL source code

./configuration

make

make install


But an error occurs when making:


Later attempts to comment out the winmm module were unsuccessful. It is also possible that the Makefile needs to be configured. It seems that no one is compiling the SDL source code, so it is put on hold for now.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324759174&siteId=291194637