Closed BartBruininks closed 2 months ago
Iterating the following command and the suggested fix in the error until the command runs without error solves the problem.
git submodule update --init --recursive
Submodule path 'deps/polyscope/deps/happly': checked out '88f79725d32d78e0e637ebf42d8432d519e1c7d0'
fatal: detected dubious ownership in repository at 'path_to/signed-heat-3d/deps/polyscope/deps/imgui/imgui'
To add an exception for this directory, call:
git config --global --add safe.directory path_to/signed-heat-3d/deps/polyscope/deps/imgui/imgui
Unable to find current revision in submodule path 'deps/polyscope/deps/imgui/imgui'
Failed to recurse into submodule path 'deps/polyscope'
Thanks for catching the typo! Fixed in fb4bf21.
And yup, executing git submodule update --init --recursive
should do the trick for all submodules and sub-submodules, if the repo doesn't get cloned recursively at first.
You should only need to execute this command once, though in your case it seems the "recursive" part keeps failing to recurse properly due to "dubious ownership" errors from git. You might have already checked these resources out, but these Stack Overflow posts suggest some possible causes of ownership issues. Glad you could get this repo working, and hopefully getting git sorted out prevents these issues from happening again in future cloned repos.
Following the install instructions does not result in a positive outcome:
Using this gives an error because the
cd SHM
refers to the wrong folder name (trivial to solve). However, more serious is the fact that thedeps
folders are all empty. This gives the following error duingcmake
:Obviously, the real problem is more severe than just a missing
CMakeList.txt
. All other deps suffer from the same fate.By running the following command removing the git repo and redoing the install seems to alleviate this issue:
However, the following deps cannot be fixed in this manner and keep giving this error, which seems to be a recursion of the stated above:
Probably I am just missing something trivial here, but I cannot get the program to compile in a nice manner from the github repo.
Chees,
Bart