Open muzi-Lu opened 4 months ago
I also encountered the same issue as you, and maybe you can try my solution:
Open the .gitmodules file and change all submodule URLs from the format git@github.com:User/Repo.git to https://github.com/User/Repo.git.
Alternatively, try manually cloning them to the correct location, for example:
git clone https://github.com/g-truc/glm.git /path/to/neuralsim/nr3d_lib/externals/glm.
Sorry for late reply, Thanks for your tips!
Hi, I have a qustion about git --recurse-submodules.
Cloning into 'nr3d_lib'... remote: Enumerating objects: 791, done. remote: Counting objects: 100% (791/791), done. remote: Compressing objects: 100% (574/574), done. remote: Total 791 (delta 291), reused 681 (delta 182), pack-reused 0 Receiving objects: 100% (791/791), 3.28 MiB | 5.49 MiB/s, done. Resolving deltas: 100% (291/291), done. Submodule 'externals/cub' (git@github.com:NVIDIA/cub.git) registered for path 'externals/cub' Submodule 'externals/glm' (git@github.com:g-truc/glm.git) registered for path 'externals/glm' Cloning into '/home/b302003/Ben/code/config/nr3d_lib/externals/cub'... git@github.com: Permission denied (publickey). fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists. fatal: clone of 'git@github.com:NVIDIA/cub.git' into submodule path '/home/b302003/Ben/code/config/nr3d_lib/externals/cub' failed Failed to clone 'externals/cub'. Retry scheduled Cloning into '/home/b302003/Ben/code/config/nr3d_lib/externals/glm'... git@github.com: Permission denied (publickey). fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists. fatal: clone of 'git@github.com:g-truc/glm.git' into submodule path '/home/b302003/Ben/code/config/nr3d_lib/externals/glm' failed Failed to clone 'externals/glm'. Retry scheduled Cloning into '/home/b302003/Ben/code/config/nr3d_lib/externals/cub'... git@github.com: Permission denied (publickey). fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists. fatal: clone of 'git@github.com:NVIDIA/cub.git' into submodule path '/home/b302003/Ben/code/config/nr3d_lib/externals/cub' failed Failed to clone 'externals/cub' a second time, aborting
Could you help me with this qustion! Thanks in advance!