hyprwm / Hypr

Hypr is a tiling window manager written in modern C++.
BSD 3-Clause "New" or "Revised" License
1.06k stars 32 forks source link

Documentation issue. #27

Closed rainwashed closed 2 years ago

rainwashed commented 2 years ago

For the building of Hypr with the Ubuntu instructions (i run mint 20.2 which is basically ubuntu), the installation dependencies also require build-essential, otherwise a CMAKE_CXX_COMPILER error will occur. I recommend updating the dependency list to also include build-essential.

sudo apt install xcb cmake gcc libgtk-3-dev ninja-build libgtkmm-3.0-dev libxcb-randr0 libxcb-randr0-dev libxcb-util-dev libxcb-util0-dev libxcb-util1 libxcb-ewmh-dev libxcb-xinerama0 libxcb-xinerama0-dev libxcb-icccm4-dev libxcb-keysyms1-dev libxcb-cursor-dev libxcb-shape0-dev build-essential

CMake Error at CMakeLists.txt:2 (project):
  No CMAKE_CXX_COMPILER could be found.

  Tell CMake where to find the compiler by setting either the environment
  variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
  to the compiler, or to the compiler name if it is in the PATH.
vaxerski commented 2 years ago

done. Thanks!