You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pradeep edited this page Jul 15, 2021
·
26 revisions
Introduction
This document explains how to build and/or install GLFW on various operating systems and distributions.
ArrayFire requires GLFW (>=3.1.2) for graphics support.
GLFW v3.0.4 will also work, but is not recommended as bug fixes following that release may create problems. Whatever you do, do not install GLFW 2!
Windows
It is highly recommended to simply download the GLFW 64-bit binaries for Windows from the GLFW website.
Most new Linux distributions have GLFW in their respective package manager. Common package names are:
libglfw3-dev (Ubuntu and Debian distributions)
glfw-devel (Fedora)
glfw (Arch)
Some of the older Linux distributions do not ship with GLFW 3.x. The solution to this is to use 3rd party package manager repositories to install GLFW or build it as shown below. You can search the internet for repositories with GLFW 3 that support your distribution.
Building GLFW (Linux and OSX)
GLFW on Linux depends on X.Org Server and GLU (OpenGL Utility Library) packages. To build GFLW, you will also need gcc and cmake.