FreeBSD

This page contains specific information necessary to compile OpenSpace on FreeBSD. This page has the general instructions as a required reading.

Developer Tools

Install the following tools if they are not already available on your system:

  • Git 2.7+

  • GCC 11+ or Clang

  • CMake 3.25+

gcc

You can install gcc11 by executing: sudo pkg install gcc11-devel

You will need to set environment variables as follows (for sh, bash, zsh):

CC=gcc11; export CC
CXX=g++11; export CXX
CPP=c++11; export CPP
CXXFLAGS=-std=gnu++17; export CXXFLAGS

Dependencies

Install the following libraries:

  • libGL (sudo pkg install libGL)

  • GLEW (sudo pkg install glew)

  • Freeimage (sudo pkg install freeimage)

  • libsysinfo (sudo pkg install libsysinfo)

  • libinotify (sudo pkg install libinotify)

  • GDAL (sudo pkg install gdal)

Some other libraries will be needed….