https://github.com/hopson97/sfml-imgui-opengl-example
Example of using SFML, Imgui, and OpenGL. Supplementary to https://github.com/Hopson97/SDL_Nuklear_Example
https://github.com/hopson97/sfml-imgui-opengl-example
Last synced: over 1 year ago
JSON representation
Example of using SFML, Imgui, and OpenGL. Supplementary to https://github.com/Hopson97/SDL_Nuklear_Example
- Host: GitHub
- URL: https://github.com/hopson97/sfml-imgui-opengl-example
- Owner: Hopson97
- Created: 2021-05-24T14:53:05.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-05-29T09:17:23.000Z (about 5 years ago)
- Last Synced: 2025-01-17T13:48:28.838Z (over 1 year ago)
- Language: C++
- Size: 1.87 MB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nuklear SFML OpenGL Example
Example of using SFML with Nuklear + OpenGL.
https://github.com/Immediate-Mode-UI/Nuklear
## Building and Running
### Libraries
SDL2 is required.
These can be installed from your project manager. For example, on Debian/ Ubuntu:
```sh
sudo apt install libsdl2-dev
```
If this is not possible (eg windows), you can install these manually from their respective website.
### Linux
To build, at the root of the project:
```sh
sh scripts/build.sh
```
To run, at the root of the project:
```sh
sh scripts/run.sh
```
To build and run in release mode, simply add the `release` suffix:
```sh
sh scripts/build.sh release
sh scripts/run.sh release
```