Code Monkey home page Code Monkey logo

mingwlibs's Introduction

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
  1. 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.

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

mingwlibs's People

Contributors

abma avatar ashdnazg avatar hoijui avatar jk3064 avatar renefritze avatar tvo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.