DeepMetaHandles icon indicating copy to clipboard operation
DeepMetaHandles copied to clipboard

Missing libigl cmake finder in data_preprocessing

Open elPistolero opened this issue 3 years ago • 4 comments

Thank you for providing the code to your paper.

I noticed that a note in the README is missing that tells the user to clone libigl into data_preprocessing (as in the libigl example project). Furthermore, the cmake finder is missing in data_preprocessing.

This would make it even easier for other researchers to use your code on other datasets.

elPistolero avatar Apr 23 '21 09:04 elPistolero

Hi,

I'm not familiar with cpp. I've cloned libigl in the data_processing folder and as well as cmake it. However when compile data preprocessing I encounter this: CMake Error at CMakeLists.txt:15 (add_executable): Target "calc_weight_bin" links to target "igl::opengl" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing?

CMake Error at CMakeLists.txt:15 (add_executable): Target "calc_weight_bin" links to target "igl::opengl_glfw" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? May I ask for some suggestions? Thanks!

averysi224 avatar Jun 07 '21 03:06 averysi224

Did you "make" & "make install" libigl?

Hi,

I'm not familiar with cpp. I've cloned libigl in the data_processing folder and as well as cmake it. However when compile data preprocessing I encounter this: CMake Error at CMakeLists.txt:15 (add_executable): Target "calc_weight_bin" links to target "igl::opengl" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing?

CMake Error at CMakeLists.txt:15 (add_executable): Target "calc_weight_bin" links to target "igl::opengl_glfw" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? May I ask for some suggestions? Thanks!

Colin97 avatar Jun 07 '21 06:06 Colin97

Yes. Could you please provide all the command lines for this step? I'll really appreciate it.

averysi224 avatar Jun 07 '21 12:06 averysi224

Yes. Could you please provide all the command lines for this step? I'll really appreciate it.

I have tried the following steps, and it works well.

  1. clone libigl to data_preprocessing/
  2. copy the content of cmake finder to ./data_preprocessing/cmake/FindLIBIGL.cmake
  3. execute cmake .
  4. execute make

Silverster98 avatar Nov 25 '21 06:11 Silverster98