-
Notifications
You must be signed in to change notification settings - Fork 70
Description
Linux users may have problems using the MATLAB functions ggremesh and runTetGen. One of which is discussed in issue #81.
The functions ggremesh and runTetGen will call externally lib_ext/lin64/bin/vorpalite and lib_ext/tetGen/lin64/tetgen which are pre-compiled binaries. A disadvantage of using these binaries is that they may not be compatible with some Linux computers.
For example, for myself, calling ./lib_ext/tetGen/lin64/tetgen caused the error
/lib64/libm.so.6: version `GLIBC_2.29' not foundI would recommend Linux users compile the binaries themselves. Perhaps this could be done automatically when calling installGibbon.m as a feature or option.
vorpalite
Download the source from the GitHub repo. Follow the compilation instructions. This requires cmake and many prerequisites (read the error messages for hints). Replace the GIBBON's version of vorpalite.
git clone https://github.com/alicevision/geogram.git
cd geogram
sh -f configure.sh
cd build/Linux64-gcc-dynamic-Release
make
cp bin/vorpalite <path to GIBBON>/lib_ext/geogram/lin64/bin/vorpalitetetgen
Download the source from the GitHub repo. Compile and replace the GIBBON's version of tetgen.
git clone https://github.com/libigl/tetgen.git
cd tetgen
make
cp tetgen <path to GIBBON>/lib_ext/tetGen/lin64/tetgen