User Tools

Site Tools


Ubuntu (Debian, Mint, and similar) Build Instructions

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 repo

3. Prepare build files for the libraries:

cd buildlibs


4. Build the libraries:

Adjust the integer after -j to tell make the number of recipes to execute simultaneously.

make -j8

5. Set up and build OpenVSP:

cd ../build



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

make -j8

7. Make joint folder with executables:

make package

This will generate a zip folder with all the executables necessary to run OpenVSP.

ubuntu_instructions.txt · Last modified: 2020/06/03 14:49 by cibin