Open nburgess350 opened 6 years ago
Could you try this cmakelists which creates executable binary only?
https://github.com/Yixin-Hu/TetWild/blob/cbd8713cb5ee37c8fe475a87f5c61c4829b89dd1/CMakeLists.txt
Also, you can try set
export CGAL_INCLUDE_DIR=your-cgal-include-dir export CGAL_DIR=your-cgal-dir export CGAL_LIBS=your-cgal-libs-dir
The alternative CMakeLists.txt combined with export CGAL_DIR=your-cgal-dir worked. Does TetWild required IGL or CGAL or both? Thanks for the help.
Both, if the IGL you mean is the namespace of libigl.
We recently reorganized the code, I think you can try the new code with the following env variables set.
export CGAL_INCLUDE_DIR=your-cgal-include-dir export CGAL_DIR=your-cgal-dir export CGAL_LIBS=your-cgal-libs-dir
Should I pull master or is the re-organization in a different branch. By the way, TetWild is amazingly robust. Very nice work.
Please pull the master branch. There should be only one branch of Yixin-Hu/TetWild
repo.
Glad that you love TetWild :)
@nburgess350 on the windows side, i had to make sure the CMake variable "LIBIGL_WITH_CGAL=ON"..sometimes it shows up off if CGAL is not found right away
Hello, I'm not able to build TetWild on my Mac. I followed the instructions on the main page and installed CGAL through home-brew. While make was not able to find CGAL automatically, I was able to point it to the correct location. I'm able to get Cmake to give me build files but I get the following link error.
[ 99%] Linking CXX shared library libTetWild.dylib ld: library not found for -ligl::cgal clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: [libTetWild.dylib] Error 1 make[1]: [CMakeFiles/lib_tetwild.dir/all] Error 2 make: *** [all] Error 2
Any help would be appreciated.
Thanks, Nick