Link Search Menu Expand Document

OpenSpace has been tested on Fedora 33. You also need a GPU that supports OpenGL 3.3. It has been tested with Nvidia cards.

Needed packages

Install the following tools using dnf:

sudo dnf install git gcc-c++ git cmake glfw-devel libXi-devel libXinerama-devel libXrandr-devel libXxf86vm-devel libXxf86vm-devel libcurl-devel mesa-libGLU-devel qt5-qtbase-devel gdal-devel harfbuzz-devel zziplib-devel 

Compile OpenSpace

1) Checkout

2) Configure

3) Make

openSpaceHome="$HOME/source/OpenSpace"
git clone --recursive https://github.com/OpenSpace/OpenSpace "$openSpaceHome"
mkdir -p "$openSpaceHome/build"
cd "$openSpaceHome/build"

cmake \
-DCMAKE_BUILD_TYPE:STRING="Release" \
-DCMAKE_CXX_FLAGS:STRING="-DGLM_ENABLE_EXPERIMENTAL" \
-DOpenGL_GL_PREFERENCE:STRING=GLVND "$openSpaceHome"

make

Building with clang

It could also be possible to build with clang. Then you have to install these packages:

sudo dnf install clang libcxx-devel

and use this cmake command

cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_BUILD_TYPE:STRING="Release" -DCMAKE_CXX_FLAGS:STRING="-DGLM_ENABLE_EXPERIMENTAL" -DOpenGL_GL_PREFERENCE:STRING=GLVND "$openSpaceHome"

Run OpenSpace

Execute:

export LC_NUMERIC=en_US.UTF-8
"$openSpaceHome"/bin/OpenSpace

Troubleshooting

If you need assistance with these instructions, please ask your question in the #linux channel on Slack OpenSpace Support

Planet images not loading

The site gibs.earthdata.nasa.gov and possiby other data sources used by OpenSpace uses old TLS settings, see https://www.ssllabs.com/ssltest/analyze.html?d=gibs.earthdata.nasa.gov&s=198.118.199.5 . The workaround is to run sudo update-crypto-policies --set LEGACY . See also https://fedoraproject.org/wiki/Changes/StrongCryptoSettings2