User Tools

Site Tools


ubuntu_instructions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
ubuntu_instructions [2019/09/29 12:12]
cibin Use python3-dev to let distribution decide correct minor version
ubuntu_instructions [2019/11/11 11:21] (current)
cibin Add links to build script for Linux
Line 5: Line 5:
 ====== Instructions for Ubuntu === ====== Instructions for Ubuntu ===
  
-The following is a walkthrough of Ubuntu 18.04 installation.+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 [[OpenVSP Build Script|here]]
  
 This has been successfully tested on Ubuntu 14.04, Ubuntu 16.04, Ubuntu 18.04, Ubuntu Mate 18.04 and Linux Mint 18. This has been successfully tested on Ubuntu 14.04, Ubuntu 16.04, Ubuntu 18.04, Ubuntu Mate 18.04 and Linux Mint 18.
Line 22: Line 22:
 mkdir repo build buildlibs mkdir repo build buildlibs
  
-git clone https://​github.com/​OpenVSP/​OpenVSP.git repo+git clone --depth=1 ​https://​github.com/​OpenVSP/​OpenVSP.git repo
 </​code>​ </​code>​
  
Line 67: Line 67:
 </​code>​ </​code>​
  
-====== Patches for build failures === +This will generate a zip folder with all the executables necessary ​to run OpenVSP. ​
- +
-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:  +
- +
-<​code>​ +
-[/​your/​path/​to/​fluid/;​ fluid]  +
-</​code>​ +
- +
-2. FLTK lib error +
- +
-Copy fluid executable from FLTK-prefix directory to the required source directories. +
- +
-<​code>​ +
-cp ../​buildlibs/​FLTK-prefix/​bin/​fluid ../​repo/​src/​vsp_aero/​viewer/​ +
-cp ../​buildlibs/​FLTK-prefix/​bin/​fluid ../​repo/​src/​fltk_screens/​ +
-</​code>​ +
- +
-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: +
- +
-<​code>​ +
-PYTHON_LIBRARY_DEBUG:​FILEPATH=/​usr/​lib/​python3.6/​pdb.py +
-</​code>​+
ubuntu_instructions.1569784336.txt.gz · Last modified: 2019/09/29 12:12 by cibin