Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing libigl cmake finder in data_preprocessing #1

Open
elPistolero opened this issue Apr 23, 2021 · 4 comments
Open

Missing libigl cmake finder in data_preprocessing #1

elPistolero opened this issue Apr 23, 2021 · 4 comments

Comments

@elPistolero
Copy link

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.

@averysi224
Copy link

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
Copy link
Owner

Colin97 commented Jun 7, 2021

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!

@averysi224
Copy link

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

@Silverster98
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants