Extract this into another temporary directory.
#Mingw cygwin archive
These should be found (assuming the packaging hasn't changed since this writing) within another archive called that should have been created while extracting the first archive. You need to find the header files, the static-link libraries, and the SDL.dll file.
#Mingw cygwin install
Instead of doing this, which will install the libraries and headers into your MinGW system, I prefer to keep SDL separate so I can easily switch between versions of SDL and MinGW just by re-naming the folder.įurthermore, on Windows, you will most likely ship your app with the SDL DLLs, as opposed to compiling them statically to your app. This requires the help of a more unix-like command line shell, either Cygwin (configured to use MinGW) or MSYS from (as described in the first section). As-is, the development runtime package needs to be configured and installed before you can compile with it. SDL users tend to favour MSVC when on Windows, so some of the MinGW-specific information is a bit sparse. Get the Development Runtime for Win32, the MinGW version. Now, assuming you intend to compile SDL apps using the free MinGW compiler ( MinGW?), get the latest version of the SDL from the download section on the SDL website. Browse the documentation and the header files, and be sure to read the license so you know what you have the rights to use and how you may use it. If you are unfamiliar with this library I recommend going to the SDL website and having a look around for an hour or nine.
![mingw cygwin mingw cygwin](https://i.ytimg.com/vi/V3sIKuN15jc/maxresdefault.jpg)
SDL (Simple Direct Media Layer) is a very powerful, low-level, cross-platform, high-performance multimedia library.