https://github.com/hopson97/sdl_nuklear_example
Example of using modern OpenGL with SDL2 with a Nuklear GUI in C
https://github.com/hopson97/sdl_nuklear_example
Last synced: 7 months ago
JSON representation
Example of using modern OpenGL with SDL2 with a Nuklear GUI in C
- Host: GitHub
- URL: https://github.com/hopson97/sdl_nuklear_example
- Owner: Hopson97
- Created: 2021-05-07T22:09:01.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-05-23T11:33:47.000Z (over 4 years ago)
- Last Synced: 2025-04-19T20:23:28.926Z (9 months ago)
- Language: C
- Size: 2.91 MB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nuklear SDL2 Example
Example of using SDL2 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
```