On 16.05.2025 12:37, drug007 wrote:
On 15.05.2025 11:29, Danny Arends wrote:
Hey all,
```bash
user@host:~/workspace/DImGui$ uname -a
Linux host 6.8.0-59-generic #61~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue
Apr 15 17:03:15 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
userg@host:~/workspace/DImGui$ dub
Starting Performing "debug" build using /usr/bin/dmd for x86_64.
Building dimgui ~master: building configuration [default]
Pre-build Running commands
make: *** No rule to make target 'deps/cimgui/cimgui.o', needed by
'libcimgui.so'. Stop.
Error Command failed with exit code 2: make -j 8
```
I guess it's because I failed to clone submodule(s)
```bash
user@host:~/workspace/DImGui$ git submodule update --init --recursive
Submodule 'deps/cimgui' (g...@github.com:cimgui/cimgui.git) registered
for path 'deps/cimgui'
Cloning into '/home/user/workspace/DImGui/deps/cimgui'...
The authenticity of host 'github.com (140.82.121.4)' can't be established.
ED25519 key fingerprint is
SHA256:+DiY3wvvV6TuJJhbpZisF/zLDA0zPMSvHdkr4UvCOqU.
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'github.com' (ED25519) to the list of known
hosts.
g...@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 'g...@github.com:cimgui/cimgui.git' into submodule path
'/home/user/workspace/DImGui/deps/cimgui' failed
Failed to clone 'deps/cimgui'. Retry scheduled
Cloning into '/home/user/workspace/DImGui/deps/cimgui'...
g...@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 'g...@github.com:cimgui/cimgui.git' into submodule path
'/home/user/workspace/DImGui/deps/cimgui' failed
Failed to clone 'deps/cimgui' a second time, aborting
```
Could you use not git protocol but https one? I can easily clone using
latter:
```bash
git clone https://github.com/cimgui/cimgui.git
Cloning into 'cimgui'...
remote: Enumerating objects: 5333, done.
remote: Counting objects: 100% (1307/1307), done.
remote: Compressing objects: 100% (303/303), done.
remote: Total 5333 (delta 1156), reused 1014 (delta 1004), pack-reused
4026 (from 4)
Receiving objects: 100% (5333/5333), 13.24 MiB | 16.12 MiB/s, done.
Resolving deltas: 100% (3919/3919), done.
```