On various Linux distributions, you must build OpenVSP yourself. Here is a quick guide that should make this easier.
The following is a walkthrough of Ubuntu 18.04 installation.
This has been successfully tested on Ubuntu 14.04, Ubuntu 16.04, Ubuntu 18.04, Ubuntu Mate 18.04 and Linux Mint 18.
1. Install all required packages:
sudo apt-get install python3-dev git git-gui cmake libxml2-dev libfltk1.3-dev g++ libcpptest-dev libjpeg-dev libglm-dev libeigen3-dev libcminpack-dev libglew-dev swig doxygen graphviz texlive-latex-base
2. Make main directory and clone OpenVSP source:
mkdir OpenVSP; cd OpenVSP mkdir repo build buildlibs git clone https://github.com/OpenVSP/OpenVSP.git repo
3. Prepare build files for the libraries:
cd buildlibs cmake -DVSP_USE_SYSTEM_LIBXML2=true -DVSP_USE_SYSTEM_FLTK=true -DVSP_USE_SYSTEM_GLM=true -DVSP_USE_SYSTEM_GLEW=true -DVSP_USE_SYSTEM_CMINPACK=true -DVSP_USE_SYSTEM_LIBIGES=false -DVSP_USE_SYSTEM_EIGEN=false -DVSP_USE_SYSTEM_CODEELI=false -DVSP_USE_SYSTEM_CPPTEST=false ../repo/Libraries -DCMAKE_BUILD_TYPE=Release
4. Build the libraries:
Adjust the integer after -j to tell make the number of recipes to execute simultaneously.
5. Set up and build OpenVSP:
to suit your path names to the OpenVSP directory.
cmake ../repo/src/ -DVSP_LIBRARY_PATH=/home/your/path/to/OpenVSP/buildlibs -DCMAKE_BUILD_TYPE=Release
6. Build OpenVSP
7. Make joint folder with executables:
1. Cmake can't find Fluid executable
Check if OpenVSP/build/CMakeCache.txt contains the wrong path to Fluid or no path at all. To fix this, find the Fluid directory and manually add its path to OpenVSP/build/CMakeCache.txt so it would say:
2. FLTK lib error
Copy fluid executable from FLTK-prefix directory to the required source directories.
cp ../buildlibs/FLTK-prefix/bin/fluid ../repo/src/vsp_aero/viewer/ cp ../buildlibs/FLTK-prefix/bin/fluid ../repo/src/fltk_screens/
3. Cmake can't find Python debug library
Check if OpenVSP/build/CMakeCache.txt contains the wrong path to the Python debug library or no path at all. To fix this, find the pdb.py file and manually add its path to OpenVSP/build/CMakeCache.txt, so it would say: