Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@berndhahnebach
Created October 10, 2019 20:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save berndhahnebach/1d832c3a58735163e023e7f897676be1 to your computer and use it in GitHub Desktop.
Save berndhahnebach/1d832c3a58735163e023e7f897676be1 to your computer and use it in GitHub Desktop.
#!/bin/bash
# Released under GPL v2.0
# bernd@bimstatik.org
# Fedora30--ifcplusplus.sh
# tested on Fesora 30
# a Fedora Desktopsystem should have been set up
# ***************************************************************************
# packages for compiling ifcpp
sudo yum -y update
sudo dnf -y install git.x86_64
sudo dnf -y install gcc-c++.x86_64
sudo dnf -y install cmake.x86_64
sudo dnf -y install boost-devel.x86_64
sudo dnf -y install qt5-devel
sudo dnf -y install OpenSceneGraph-devel.x86_64 OpenSceneGraph-qt-devel.x86_64
sudo yum -y update
cd ~ # on a local machine, or if provision is run as user vagrant
# sudo rm -rf build_ifcpp
mkdir build_ifcpp
cd build_ifcpp
git clone https://github.com/berndhahnebach/ifcplusplus/ ifcpp
mkdir build
cd build
cmake ../ifcpp
## cmake -DCMAKE_BUILD_TYPE=Debug ../ifcpp # debugbuild
make -j2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment