An open API service indexing awesome lists of open source software.

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

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
```