Files | Description |
---|---|
Code::Blocks | codeblocks-16.01mingw-setup.exe |
SFML 2.4.2 | GCC 4.9.2 TDM(SJLJ) - 32-bit |
TGUI 0.7.3 | MinGW 4.9.2 TDM (SJLJ) - 32-bit |
Boost C++ | boost_1_63_0.7z |
git clone https://github.com/kroyee/SpeedBlocks C:/dev/SpeedBlocks
Extract SFML, TGUI, Boost C++ libraries to some location like C:\dev\SFML-2.4.2
, C:\dev\TGUI-0.7
, C:\dev\boost_1_63_0
.
- Install Code::Blocks. MinGW should be included if installed with the mingw-setup.exe file.
- Create a new empty project.
- Add files to the project.
- Set project build options.
Apply folowing options for both Debug and Release configurations. (Click SpeedBlocks in the tree to apply to Debug and Release.)
C:\dev\SFML-2.4.2\include
C:\dev\TGUI-0.7\include
C:\dev\boost_1_63_0
-std=c++11
Linker settings should be set separately for Debug and Release configurations. (Click Debug or Release in the tree.)
Don't add any files with -s
(static libraries?) in the filename.
Add link libraries from SFML (C:\dev\SFML-2.4.2\lib
) and TGUI (C:\dev\TGUI-0.7\lib
).
For the debug configuration, add files with -d
in the filename. For the release configuration, add files without -d
in the filename.
- Copy SFML DLLs (
C:\dev\SFML-2.4.2\bin
) and TGUI DLLs (C:\dev\TGUI-0.7\lib
) into the output directory (depending on configuration, eitherC:\dev\SpeedBlocks\bin\Debug
orC:\dev\SpeedBlocks\bin\Release
). - Run from IDE or .exe file.