ImGuiProjectTemplate icon indicating copy to clipboard operation
ImGuiProjectTemplate copied to clipboard

Improve linux installation process

Open RichardPflaum opened this issue 1 year ago • 1 comments

Bin gerade am Udemy Kurs im ImGui Kapitel und nutze Ubuntu 22. Mit der beigefügten Anleitung lässt sich das leider nicht bauen, weil mir noch dependencies gefehlt haben. Es wird beim build Prozess der folgende Fehler ausgegeben:

-- Running vcpkg install - failed
CMake Error at external/vcpkg/scripts/buildsystems/vcpkg.cmake:904 (message):
  vcpkg install failed.  See logs for more information:
  ~/udemy_modern_cpp_course/GUI-ImGui/ImGuiProjectTemplate/build/vcpkg-manifest-install.log
Call Stack (most recent call first):
  CMakeLists.txt:60 (include)

In der besagten Datei stand dann diese Info:

GLFW3 currently requires the following libraries from the system package manager:
    xinerama
    xcursor
    xorg
    libglu1-mesa
    pkg-config

These can be installed on Ubuntu systems via sudo apt install libxinerama-dev libxcursor-dev xorg-dev libglu1-mesa-dev pkg-config

Der genannte Befehl aus der letzten Zeile behebt das Problem beim Bauen. Außerdem hab ich auf den neusten vcpkg master commit gewechselt und eine recommendation der im Tutorial gezeigten Cmake Extension hinzugefügt.

RichardPflaum avatar Nov 25 '24 12:11 RichardPflaum

Bitte die recommendations Datei rausnehmen, dann merge ich das.

franneck94 avatar Nov 25 '24 14:11 franneck94