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.

Instructions for Ubuntu

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 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

Patches for build failures

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:

[/your/path/to/fluid/; fluid] 

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 file and manually add its path to OpenVSP/build/CMakeCache.txt, so it would say:

ubuntu_instructions.txt · Last modified: 2019/09/29 12:12 by cibin