Function wrapper issue on Ubuntu
bkontou opened this issue · 1 comments
I do not have much experience with including libraries in C++ so apologies if this is a very simple mistake on my part.
I am trying to include TetWild in my CMakeLists.
My program compiles correctly but when I try to run it I get this error message when trying to call tetwild::tetrahedralization:
"Abnormal program termination: received signal 11 (Segmentation fault)"
Is there a specific way to include TetWild in CMakeLists?
Thank you
Hi,
The brainless way to include TetWild is to add all the source files. Or you can compile TetWild as a library and then include it: you can refer to this examples (our similar project): https://github.com/wildmeshing/fTetWild/blob/master/CMakeLists.txt#L153-L155 where the source files are added to the library https://github.com/wildmeshing/fTetWild/blob/master/src/CMakeLists.txt