User Tools

Site Tools


The way to build for RPMs is almost the same as the ubuntu_instructions. You install the prerequisites, then build the libraries, then build OpenVSP and package it into an RPM.

Here is an example of how to build an RPM on Fedora release 36:

git clone
cd OpenVSP
sudo dnf install -y cmake libxml2-devel fltk-fluid fltk-devel g++ \
          openjpeg-devel glm-devel rpm-build \
          cminpack-devel glew-devel swig doxygen graphviz texlive-scheme-basic \
          python3-devel conda
mkdir buildlibs
cd buildlibs
  -DVSP_USE_SYSTEM_CPPTEST=false ../Libraries
make -j4
cd ..
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DVSP_CPACK_GEN=RPM -DVSP_LIBRARY_PATH=`pwd`/../buildlibs ../src
make -j4 package
ls -l *.rpm

The resulting RPM installs everything into /opt/OpenVSP.

The Python module is installed into /opt/OpenVSP/python, and you need to follow the steps in the file in that directory in order to make use of it. The Python integration has been tested with Fedora 36.

rpm_instructions.txt · Last modified: 2022/11/24 08:19 by jallen