-
Notifications
You must be signed in to change notification settings - Fork 0
Compiling CarGame from source
SITSGameDev edited this page Jul 12, 2019
·
3 revisions
If your binary is not working on your system, you can compile it yourself.
The language is C++. Your compiler must be compatible with C++11 to compile game.
Dependencies for CarGame (v0.1 beta) are:
- SFML (2.4.2 or later, download from this page)
- HackerMan Util (1.0 or later, included)
In Beta 0.2 another dependence will be CarGameUI (included). It also has SFML as dependence.
- First download source code from Github (in "Releases" or by
git clone https://github.com/sppmacd/CarGame
) - Download dependency archive from "Releases" (file cargame-deps-.zip)
- Create new project in your IDE.
- Configure SFML - https://www.sfml-dev.org/tutorials/2.5/#getting-started
- Add hmUtil library directories (headers in deps/hmUtil/include, binaries in deps/hmUtil/lib). You can compile hmUtil from source (also included), the libraries are compiled with:
- GCC x86_64-7.2.0-release-win32-seh-rt_v5-rev0 (MINGW64) - 64 bit
- GCC i686-8.1.0-win32-dwarf-rt_v6-rev0 (MINGW32) - 32 bit (like official compilation of CG)
SITSGameDev 2019