mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-13 08:09:39 +00:00
17 lines
564 B
Bash
17 lines
564 B
Bash
#!/bin/bash
|
|
# this is a script shell sets up a MacOS environment where
|
|
# MeshLab can be compiled.
|
|
#
|
|
# Run this script if you never installed any of the MeshLab dependencies.
|
|
#
|
|
# Requires: homebrew
|
|
|
|
brew install libomp qt cgal xerces-c
|
|
npm install -g appdmg
|
|
|
|
echo "export QTDIR=/usr/local/opt/qt" >> ~/.bash_profile
|
|
echo "export PATH=$QTDIR/bin:$PATH" >> ~/.bash_profile
|
|
echo "export LD_LIBRARY_PATH=/usr/local/opt/qt/lib:$LD_LIBRARY_PATH" >> ~/.bash_profile
|
|
echo "export PKG_CONFIG_PATH=/usr/local/opt/qt/lib:$PKG_CONFIG_PATH" >> ~/.bash_profile
|
|
. ~/.bash_profile
|