Install on Windows
- Get the right version
- Download and install Qt Creator (once)
- Download and install SFML (once)
- Let Qt Creator find SFML library (once per project file)
The hardest part about the installation is to realize that using the correct version really matters, in all three cases. Here is a zoom-in off all three cases.
The SFML version:
The Qt version:
The Qt tool version:
Look how nice they match :-)
1. Download and install Qt Creator (here)
Use all defaults, up until the Qt Maintenance tool is started. Here, you will need to check two boxes:
- Go to the SFML download page, https://www.sfml-dev.org/download/sfml/2.5.0/
- Pick the MinGW version you have installed and download the zip
- Unpack the zip, it will create a folder called
SFML-2.X.Y
(where X and Y are version numbers) - Rename that folder to
sfml
- Move that folder to within
C:/Qt
. Its new path will beC:/Qt/sfml
If you run the Qt Creator project now,
you will get a During Startup program exited with code 0xc0000135
error.
This means it cannot find the path.
- In Qt Creator, click 'Projects' (at the left vertical menu bar),
go to 'Build',
go to 'Build Environment',
add to the
Path
variable:;C:\Qt\sfml\bin
Also do
git clone https://github.com/Neargye/magic_enum.git
in a folder besides the game folder, e.g.
git clone https://github.com/tresinformal/game.git
git clone https://github.com/Neargye/magic_enum.git