Skip to content

Instantly share code, notes, and snippets.

@linuxsocist
Created April 23, 2018 02:46
Show Gist options
  • Save linuxsocist/611d1cb78b997cd94b154b3422d3bc85 to your computer and use it in GitHub Desktop.
Save linuxsocist/611d1cb78b997cd94b154b3422d3bc85 to your computer and use it in GitHub Desktop.
#!/bin/bash
# Build script for dust3d on fedora 27
#
# This script assumes that the current working diretory is in dust3d/
sudo dnf install CGAL-devel rust cargo git make gcc-g++
git clone https://github.com/huxingyi/meshlite.git
cd meshlite
cargo build --release
cd ../
cp meshlite/include/meshlite.h thirdparty/meshlite/meshlite.h
cp meshlite/target/release/libmeshlite.so thirdparty/meshlite/libmeshlite.so
qmake-qt5 -config release
make
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment