Skip to content

spjuanjoc/gui_project_cpp

Repository files navigation

gui_project_cpp

GUI project in C++ using ImGui-SFML.

Pipeline Status
Actions linux

Requirements

Tool Version
GCC >= 8.3.0
Clang >= 7.0.0
MSVC >= 14.16
Conan 2
CMake >3.24

Build

  1. Build

      mkdir build && cd build
      cmake .. -DCMAKE_PROJECT_TOP_LEVEL_INCLUDES=/path/to/cmake/conan_provider.cmake -DCMAKE_BUILD_TYPE=Debug
      cmake --build .
  2. Run

    ./build/gui_project_cpp

The expected output is the following main window

The window shown when run with no modifications

spdlog and fmt::format

See about spdlog

Notes

To install conan:

sudo pip3 install conan

To install ninja:

sudo apt install -y ninja-build

Troubleshooting

  1. If required, install extra packages required for ImGui and SFML in Linux:

    conan profile update conf.tools.system.package_manager:mode=install default
    
    sudo apt install -y \
      libudev-dev                       \
      pkg-config                        \
      libgl1-mesa-dev                   \
      xorg-dev                          \
      libxcb-render-util0-dev           \
      libxcb-xkb-dev                    \
      libxcb-icccm4-dev                 \
      libxcb-image0-dev                 \
      libxcb-keysyms1-dev               \
      libxcb-xinerama0-dev              \
      libx11-xcb-dev                    \
      libxcb-randr0-dev                 \
      libxcb-shape0-dev                 \
      libxcb-sync-dev                   \
      libxcb-xfixes0-dev                \
      libxcb-dri3-dev                   \
      libxcb-cursor-dev                 \
      libxcb-util0-dev

About

C++ GUI project using ImGui-SFML handled by conan.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published