Skip to content
This repository has been archived by the owner on Nov 25, 2021. It is now read-only.

missing tinyutf8.cpp compiler bug #4

Closed
cameronwp opened this issue Feb 4, 2017 · 4 comments
Closed

missing tinyutf8.cpp compiler bug #4

cameronwp opened this issue Feb 4, 2017 · 4 comments
Assignees

Comments

@cameronwp
Copy link
Contributor

I'm on commit 33c742f

I'm seeing:

CMake Error at Sources/Modules/CppGrapher/CMakeLists.txt:3 (add_library):
  Cannot find source file:

    ../3rdParty/tinyutf8/tinyutf8.cpp

Poking around the directory, it looks like tinyutf8.cpp is missing from the repo.

@U007D
Copy link

U007D commented Feb 6, 2017

Did you clone using --recursive? You won't have any of the 3rdParty libraries without --recursive. If not, you can use git submodule init && git submodule update to pull in the missing submodules--no need to delete and re-clone. LMK if this resolves the issue.

@cameronwp
Copy link
Contributor Author

cameronwp commented Feb 6, 2017

I just cloned with --recursive on a different machine. Here's the relevant output:

Cloning into 'Sources/Modules/3rdParty/tinyutf8'...
ssh: Could not resolve hostname github: Name or service not known
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'github:bradleygibson/tinyutf8.git' into submodule path 'Sources/Modules/3rdParty/tinyutf8' failed

After running submodule update, here's the output:

Cloning into 'Sources/Modules/3rdParty/tinyutf8'...
ssh: Could not resolve hostname github: Name or service not known
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'github:bradleygibson/tinyutf8.git' into submodule path 'Sources/Modules/3rdParty/tinyutf8' failed

Everything else looks fine! As I rarely use submodules, I'm not sure what's going on here. I even see that bradleygibson/tinyutf8 is a valid repo.

@U007D
Copy link

U007D commented Feb 6, 2017

Oh--I see the problem--thank you for the error message. I accidentally used an local ssh alias I have defined ("github") in the the submodule name, instead of a proper user and url ("git@github.com").

Fixed in master branch. And I checked the other dependencies too to be sure this was a one-of.

@U007D U007D closed this as completed Feb 6, 2017
@cameronwp
Copy link
Contributor Author

👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants