RPM Build Instructions
Steps for building the OpenVSP RPM is almost the same as the instructions for Debian-based systems. You install the prerequisites, then build the libraries, then build OpenVSP and package it into an RPM.
STEPcode does not compile with gcc-15, but works fine with gcc-14.
Here is an example of how to build an RPM on Fedora release 42 and 43:
text
git clone https://github.com/OpenVSP/OpenVSP.git
cd OpenVSP
git reset --hard OpenVSP_3.47.0 # or latest version
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 gcc-14 g++-14
mkdir buildlibs
cd buildlibs
cmake -DCMAKE_BUILD_TYPE=Release -DVSP_USE_SYSTEM_LIBXML2=true \
-DVSP_USE_SYSTEM_FLTK=false -DVSP_USE_SYSTEM_GLM=true \
-DVSP_USE_SYSTEM_GLEW=true -DVSP_USE_SYSTEM_CMINPACK=true \
-DVSP_USE_SYSTEM_CPPTEST=false -DCMAKE_C_COMPILER=gcc-14 -DCMAKE_CXX_COMPILER=g++-14 ../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 *.rpmThe 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 README.md file in that directory in order to make use of it. The Python integration has been tested with Fedora 36.