If you are using CMake, add these lines to your CMakeLists.txt :
glfw — Found in the extra repository; supports both X11 and Wayland by default. glfw download arch
find_package(glfw3 3.3 REQUIRED) target_link_libraries(your_app_name glfw) Use code with caution. Manual Download & Compiling from Source glfw 1:3.4-1 (x86_64) - Arch Linux If you are using CMake, add these lines to your CMakeLists
lib32-glfw — Available via the Arch User Repository (AUR) for cross-compiling or legacy 32-bit applications. If you are using CMake
Depending on your project needs, you might require a specific version or architecture from the Arch Linux Package Search :