Open yi1z opened 2 years ago
Guys I probably figured out a solution. So I'm not sure exactly how it works, but what I did was to download vcpkg from https://vcpkg.io/en/index.html, and then use vcpkg to install eigen and libigl. Then redownload a4 starter file and build should solve the problem.
Hey! I still have the problem I went to the office hours yesterday and waiting to hear back from the professor. I am trying to use the package you recommended but it seems I am unable to download the required packages with vcpkg... will keep trying
A few possible suggestions:
are you cloning the libigl submodule? If you forgot to recursive clone, try git submodule update --init
if you did clone and see weird compiler errors, in the release mode, you need to add #include <Eigen/Geometry>
to the file with the error.
https://github.com/opencv/opencv/issues/14868 Maybe check this this link, it was about the same problem but on Linux, but it contains many potential solutions
A few possible suggestions: are you cloning the libigl submodule? If you forgot to recursive clone, try
git submodule update --init
if you did clone and see weird compiler errors, in the release mode, you need to add#include <Eigen/Geometry>
to the file with the error.
Also I'm pretty sure I cloned everything needed since I copied the given cmd to start, but it didn't work as it keeps saying that line 179 of libigl\DownloadProject.cmake is wrong, which suggests it cannot download eigen package? Anyway I got things solved after installing eigen by myself so there might be a slight problem with function(download project) in DownloadProject.cmake The cmd used to clone
The line which reports the problem
The function which might be the cause of the problem
Ok so this is a general question... How many of us are struggling with getting cmake to use? I tried directly downloading eigen and libigl packages through vcpkg and change the include path; I also copied the eigen folder from a3 to a4, but none of them seem to be able to get cmake realize that eigen (at least Eigen/Core) exists xd. If anyone has a solution please educate us