alecjacobson / gptoolbox

Matlab toolbox for Geometry Processing.
MIT License
630 stars 169 forks source link

Compilation Problem LIBELTOPO_INCLUDE_DIR #73

Open yiyunalu opened 6 years ago

yiyunalu commented 6 years ago

Hi! I'm using Linux and trying to compile Mex.

Using came version 3.9.1 and libigl has been downloaded under /gptoolbox/mex/../libigl I had this error and not sure why. Do you know what's going on here? CMake Error at cmake/FindELTOPO.cmake:22 (message): could NOT find LIBELTOPO_INCLUDE_DIR Call Stack (most recent call first): CMakeLists.txt:11 (find_package)

yiyunalu commented 6 years ago

Or I have to compile with cgal & embrue downloaded. And do I have to put everything under Matlab sub folder in order to compile??

alecjacobson commented 6 years ago

The new cmakelists.txt might fix this. Let me know if it does.

oqilipo commented 6 years ago

This issue still isn't fixed: https://github.com/alecjacobson/gptoolbox/pull/65

As far as I understand eltopo is not necessary to compile the mex files. But the cmake script doesn't work without eltopo or you have to edit the FindELTOPO.cmake

oqilipo commented 6 years ago

I think this can be closed now.