Skip to content

Latest commit

 

History

History
56 lines (36 loc) · 2.02 KB

README.md

File metadata and controls

56 lines (36 loc) · 2.02 KB

Dependencies

General information

Project to work properly requires:

  • OpenGL3
  • GL3W
  • GLFW
  • ImGUI
  • imgui_impl_glfw_gl3

Dependencies description

OpenGL3

OpenGL3 is required to be installed on user's computer for proper compilation and non-development usage.

GL3W (included in project's source)

Maintainer does not provide versions nor releases thus master branch is used. Requires Python and building before usage with commands:

cmake .
make

GLFW (included in project's source)

Version tagged 3.2.1.

ImGUI (included in project's source)

Version tagged v1.52.

imgui_impl_glfw_gl3 (included in project's source)

Version tagged v1.52. Sourced directly from ImGUI's repo. ImGUI integration for OpenGL3 & GLFW.

Platform specific

UNIX/Linux

On UNIX/Linux xorg-dev and RandR are required for complilation of the project. It is usually possibile using your distribution package manager, for example on Ubuntu: sudo apt install xorg-dev.

Windows

Building on Windows was tested with 2 configurations:

  1. CLion IDE with included build tools

Plainly import cloned repository's folder into CLion. As build configuration pick imgui_with_opengl3 and make sure that in CMake's settings "Generation path" is set to ".". See related issue why this is required: (https://github.com/JMendyk/ImGUI_with_OpenGL3/issues/1)[https://github.com/JMendyk/ImGUI_with_OpenGL3/issues/1].

  1. MinGW + CMake + FreeGLUT

Make sure that CMake as well as MinGW build tools are present in PATH. The easiest way to install FreeGLUT is to put it's folders into respective ones in your MinGW folder.

In some cases CMake may complain about missing Visual C++ compiler. Assuming you want to compile using MinGW, call cmake with flag cmake -G "MinGW Makefiles".