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

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

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