Note: tested on windows 10 only linux support will be added soon
Please give star ✨ if you are using this template. fork it, Use it, Maintain it
I wanted to build gui applications with SFML and Dear Imgui. I didn,t find any relevent tutorial or repositories So, i created this Template
- Visual Studio Code Follow Link to download
- Msys for MInGW gcc and g++ compiler follow link
Follow the installation tutorial from website and you are good to go
Don't forget to added path of mingw installation on system variable
Now you are good to go 😉
Note first run take some time to compile so be clam
You need to instal Msys and Mingw as mentioned above.
After installing mingw follow these steps 👀
- Clone this Repository or Download Zip-file and unzip it
- Open vscode or open that folder on terminal
- On vscode open terminal and run below command
mingw32-make -f MakeFile
- type your project name to run it for eg. main.exe
- SFML: SFML is a simple, fast, cross-paltform and object-oriented multimedia API
- SFML github repo
- ImGui: Dear imgui is a bloat free graphical user interface library for c++
- Imgui official repo
- ImGui-SFML: library which allows you to use Dear ImGui with SFML binding
- ImGui-SFML repo
- assets 📁 : assets like fonts images etc..
- headers 📁 : SFML and Imgui headers file
- obj 📁 : all object files
- src 📁 : Projects files and custom headers
- .exe files
- MakeFile
- SFML Dlls
- Clone the repo or Download and unzip it
Run this command on terminal
mingw32-make -f MakeFile
Happy coding 😉
Keep Learning 🥰