-
Notifications
You must be signed in to change notification settings - Fork 49
Preparing Dependencies
Since GLFW.NET is only managed bindings around a native library, GLFW will obviously need to be present on the host machine to use it.
Linux installation will vary depending on the package manager used, and which backend windowing system used (X11, Wayland, etc).
sudo pacman -S glfw-x11
or
sudo pacman -S glfw-wayland
sudo apt-get update
sudo apt-get install libglfw3
sudo apt-get install libglfw3-dev
Nearly every Linux distribution that uses a package manager should have a package, including .deb, .rpm, etc, but if all else fails, you can always build GLFW from source.
Simply install using brew
.
brew install glfw3
Windows users do not need to install anything, but will need to distribute the pre-built binaries with their application. The binaries are quite lightweight, and can be downloaded directly from GLFW's website. There are 32-bit and 64-bit variations, and you will obviously need to target the correct binary the architecture your application uses, or resolve dynamically at run-time if targeting AnyCPU