The main Mac and Ubuntu driver for Scenic applications
Might work on other systems too, but I've only tested those two...
See main Scenic documentation for the real installation steps
The easiest way to install on MacOS is to use Homebrew. Just run the following in a terminal:
brew update
brew install glfw3 glew pkg-configOnce these components have been installed, you should be able to build the scenic_driver_glfw driver.
The easiest way to install on Ubuntu is to use apt-get. Just run the following:
apt-get update
apt-get install pkgconf libglfw3 libglfw3-dev libglew2.0 libglew-devOnce these components have been installed, you should be able to build the scenic_driver_glfw driver.
The easiest way to install on Archlinux is to use pacman. Just run the following:
pacman -Syu
sudo pacman -S glfw-x11 glewIf you're using wayland, you'll probably need glfw-wayland instead of glfw-x11 and glew-wayland instead of glew
If available in Hex, the package can be installed
by adding scenic_driver_glfw to your list of dependencies in mix.exs:
def deps do
[
{:scenic_driver_glfw, "~> 0.7"}
]
endDocumentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/scenic_driver_mac.