Skip to content

toneengo/texgui

Repository files navigation

WIP. texgui is a minimal C++ library, which can use textures to render GUI elements for OpenGL games. inspired by: nanogui, imgui

Build

Dependencies

  • Ninja (optional)

Windows

CMake (Ninja)

  1. Install vcpkg.
  2. Set the environment VCPKG_ROOT to the path of the vcpkg installation.
$ setx VCPKG_ROOT C:\<path>\vcpkg\
  1. Add the path of the vcpkg installation to your PATH.
$ setx PATH "%PATH%;C:\<path>\vcpkg\"
  1. Install all dependencies.
$ vcpkg install glm
  1. Clone this repository.
$ git clone https://github.com/toneengo/texgui.git
$ cd .\texgui\
  1. Generate the build files. You may use another generator.
$ mkdir build
$ cmake -S . -B build -G "Ninja"
$ cmake --build build
  1. Copy the output file (build\texgui.lib) into your project, and link it.

Linux (CMake)

  1. Install the dependencies with your package manager.

Arch Linux:

sudo pacman -S glm
  1. Clone this repository.
$ git clone https://github.com/toneengo/texgui.git
$ cd .\texgui\
  1. Generate the build files. You may use another generator.
$ mkdir build
$ cmake -S . -B build -G "Ninja"
$ cmake --build build
  1. Copy the output file (build\texgui.lib) into your project, and link it.

About

Minimal C++ GUI library for OpenGL.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages