Skip to content
Snippets Groups Projects
user avatar
Sylvain CALINON authored
04d3b553
History
Name Last commit Last update
data
src
CMakeLists.txt
LICENSE
Makefile
README.md

Pbdlib minimalist GUI based on ImGui

This GUI is intended to be used with the pbdlib library available at https://gitlab.idiap.ch/rli/pbdlib

Contact

Pbdlib_gui is currently maintained by Sylvain Calinon, Idiap Research Institute, http://idiap.ch/~scalinon/. It is based on ImGui, a Bloat-free Immediate Mode Graphical User interface for C++ with minimal dependencies, https://github.com/ocornut/imgui. ImGui is licensed under the MIT License, see LICENSE for more information.

Prerequisite

The program can be compiled either with the available Makefile or with CMake.

It requires to be linked with the glfw3 library (modern lightweight and portable library for managing OpenGL contexts, windows and inputs, similar to glut but better!).

Compilation

cd pbdlib_gui
mkdir build
cd build
cmake ..
make

glfw3 library install

Clone and install the latest version of GLFW to a folder of your choice:

git clone https://github.com/glfw/glfw.git
cd glfw
mkdir build
cd build
cmake -DBUILD_SHARED_LIBS=ON ../
make
sudo make install

Notes The -DBUILD_SHARED_LIBS is necessary otherwise cmake will create a static library.

Currently, GLFW3 is usually not available with apt-get but if it is available on your system, you can use : sudo apt-get install libglfw3-dev

Execution

The GUI can be run with

./pbdlib_gui