This is an old revision of the document!
On various Linux distributions, you must build OpenVSP yourself. Here is a quick guide that should make this easier.
The following is a detailed walkthrough of Ubuntu 18.04 installation.
All steps provided below are also available in the form of a bash script here.
This has been successfully tested on 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 --depth=1 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:
This will generate a zip folder with all the executables necessary to run OpenVSP.