TheCherno / Hazel

Hazel Engine
Apache License 2.0
11.57k stars 1.5k forks source link

Cloning does not clone all submodules - submodule msdf-atlas-gen #615

Open ChNic opened 1 year ago

ChNic commented 1 year ago

Describe the bug

Cloning does not clone all submodules - text submodule msdf-atlas-gen

To Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error above

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add extra screenshots to help explain your problem.

Operating system: (please complete the following information)

Additional context

gitmodules does not like the "\" it prefers "/"

ChNic commented 1 year ago

git does not like the "\" in the directory path, it prefers the forward slash "/" that is used in the Linux systems use. The problem is in the .gitmodules file for the submodule msdf-atlas-gen.

syby119 commented 1 year ago

It helps me a lot. Thanks. The main branch has not fixed the setup issued yet. Just replace all '\' with '/' in .gitmodules will solve the problem.

[submodule "Hazel/vendor/msdf-atlas-gen"]
    path = Hazel/vendor/msdf-atlas-gen
    url = https://github.com/TheCherno/msdf-atlas-gen
kaijurgeit commented 1 year ago

It helps me a lot. Thanks. The main branch has not fixed the setup issued yet. Just replace all '\' with '/' in .gitmodules will solve the problem.

[submodule "Hazel/vendor/msdf-atlas-gen"]
  path = Hazel/vendor/msdf-atlas-gen
  url = https://github.com/TheCherno/msdf-atlas-gen

Thank you! THis solved the problem!