Revision 1d958dbd5417241d4c4318c852f114f3892d43ba authored by Maxime Gimeno on 26 July 2018, 10:08:11 UTC, committed by Maxime Gimeno on 26 July 2018, 10:08:11 UTC
1 parent 29f8037
Raw File
install_openmesh.sh
#!/bin/bash
mkdir -p openmesh
cd openmesh
wget -O openmesh.tar.gz https://www.openmesh.org/media/Releases/6.3/OpenMesh-6.3.tar.gz
tar xf openmesh.tar.gz --strip-components=1
sed -i '94i #include <sys/time.h>' src/OpenMesh/Tools/Utils/conio.cc

mkdir build
cd build
cmake -DBUILD_APPS=FALSE ..
make -j2
sudo make -j2 install &>/dev/null

#clean up
cd ../..
rm -rf ./openmesh
back to top