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

Clear example fails to build #8

Closed
creikey opened this issue Apr 24, 2023 · 1 comment
Closed

Clear example fails to build #8

creikey opened this issue Apr 24, 2023 · 1 comment

Comments

@creikey
Copy link

creikey commented Apr 24, 2023

Here is the stack trace:

    Updating git repository `https://github.com/floooh/sokol-rust.git`
    Updating git submodule `[email protected]:cimgui/cimgui.git`
error: failed to get `sokol` as a dependency of package `spacerust v0.1.0 (C:\Users\Cameron\Documents\spacerust)`

Caused by:
  failed to load source for dependency `sokol`

Caused by:
  Unable to update https://github.com/floooh/sokol-rust.git

Caused by:
  failed to update submodule `src/sokol/c/cimgui`

Caused by:
  failed to fetch submodule `src/sokol/c/cimgui` from [email protected]:cimgui/cimgui.git

Caused by:
  failed to authenticate when downloading repository

  * attempted ssh-agent authentication, but no usernames succeeded: `git`

  if the git CLI succeeds then `net.git-fetch-with-cli` may help here
  https://doc.rust-lang.org/cargo/reference/config.html#netgit-fetch-with-cli

Caused by:
  error authenticating: unable to connect to agent pipe; class=Ssh (23)

I think this is caused by the git submodule in the repo being an ssh url not an https one

@floooh floooh closed this as completed in 682c387 Apr 25, 2023
@floooh
Copy link
Owner

floooh commented Apr 25, 2023

Oops, thanks for catching that, I changed the submodule url in .gitmodules to https, not sure what needs to be done on an existing clone (probably git submodule sync, ... but it's probably safest to delete and clone again.

Eventually the plan is to move all the ImGui stuff out of the core sokol-rust repository (see: #3)

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

2 participants