This is a simple slot machine application developed in C++ using the SFML 2.6.2 library. The project uses CMake for building and is intended to work with Visual Studio 2022 on Windows.
- CMake version 3.10 or higher (download from CMake Downloads)
- Microsoft Visual Studio 2022 (17.0) (download from Microsoft Downloads)
- SFML 2.6.2 (download from SFML Downloads)
Clone the project to your local machine:
git clone https://github.com/artmkchmv/Application.git
cd Application- Download SFML 2.6.2 (Visual C++ 17 64-bit version) from the official SFML website.
- Extract the library to a convenient location.
- Copy the entire SFML folder into the project directory.
- Create the build folder in the project directory.
mkdir build- Navigate to the build folder.
cd build- Run the build configuration.
cmake -G "Visual Studio 17 2022" ..- Open the Application.sln solution file in Visual Studio.
- In Visual Studio, set the build configuration to x64 and Release mode. You can do this from the top toolbar, where you can select the configuration dropdown.
- Make sure that Application is selected as the executable to be run. You can do this by right-clicking on the solution in the Solution Explorer and selecting Set as StartUp Project.
- Click on Start or press F5 to build and run the application.