# mingwlibs **Repository Path**: lanan/mingwlibs ## Basic Information - **Project Name**: mingwlibs - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-20 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # MinGW libraries for the Spring RTS game engine ## README The files in this package are needed to compile spring with MinGW. ### Notes for users There are two ways of using/setting-up mingwlibs. 1. The simple one (recommended for new users) Have them in a folder named mingwlibs where you have extracted the spring source tarball or git repository. This way, SCons or CMake will automatically find the libs. Your directory structure should look like this: AI/ Spring AI source code game/ Output binaries go here installer/ Scripts to build installer rts/ Spring source code mingwlibs/ This package! mingwlibs/bin/ Executables mingwlibs/dll/ Dynamic link libraries mingwlibs/include/ Header files mingwlibs/jlib/ Java libraries mingwlibs/lib/ Native import libraries 2. For multiple spring repositories This is useful if you have multiple spring repositories, and you do not want to maintain mingwlibs separately for each of them, or if you simple want to keep it away from the spring sources. Just extract the archive anywhere you want it, eg like this: C:\mingwlibs\bin C:\mingwlibs\dll C:\mingwlibs\include C:\mingwlibs\jlib C:\mingwlibs\lib For the spring build-system to find the libs, you have to specify them in the configure step like this: _CMake_ cmake -DMINGWLIBS=C:\mingwlibs [other-options...] ### Notes for maintainers #### Creating MinGW32 import libraries Also included is `reimp_new.zip`, this contains `reimp.exe` which has been used to create MinGW32 import libraries for `DevIL.dll`, `ILU.dll` and `ILUT.dll`: reimp DevIL.dll reimp ILU.dll reimp ILUT.dll This creates `libdevil.a`, `libilu.a`, `libilut.a` and a number of `.def` files. You can throw away the `.def` files and move the `lib*.a` files to `lib/`. #### Cross-Compiling Boost Download [the latest boost sources archive](http://www.boost.org/users/download/). Due to the nature of boost, it is very likely these steps will have to be adapted in-between versions. _Adjust_ and run boost_crosscompile.sh. You should now have both the static libs and the headers of the new boost version in your mingwlibs dir, and are only left to do the git magic to commit, and optionally mention the new version in the list below. ### Current versions of included libraries and binaries * GNU __AWK__ 3.1.6 This version does not depend on any dlls, and does not segfault like the official GNU `awk.exe`. * __7-Zip__ (A) 4.65 2009-02-03 * __Boost__ (see boost_crosscompile.sh for the used version) * __Curl__ 7.24.0 * __Devil__ 1.7.8 * __FreeType__ 2.3.5 (Index: ) Note: since v9 downgraded to 2.1.10.2079 again because the particular 2.3.5 that was included showed small misaligned fonts (works fine with 2.3.5 on linux.) Do not know where I originally downloaded 2.1.10.2079 * __GLEW__ 1.5.8.0 * __SDL__ 2.0.3 * __Java__ Development Kit SE 1.6.0 update 10 __headers__ and __import library__: * __pandoc__ 1.8.1.2 * __Zlib__ 1.2.7 compiled with https://github.com/abma/pr-downloader/blob/73acf328d6f9b68a9b9ffe33eb2db3c1a7ab45df/scripts/crosscompile.sh * __OpenAL Soft__ 1.15.1 irc.freenode.net:6667 #OpenAL * __Ogg/Vorbis/Vorbisfile__ `libogg-1.1.4`, `libvorbis-1.2.3` compiled with mingw gcc 4.4.1 * Java __Vecmath__ (from Java 3D 1.5) * MS C Run-Time Libraries __MSVCR71.dll__ on that page, see: _What is the difference between msvcrt.dll and msvcr71.dll?_