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

Error while building after update #342

Open
Gryxx opened this issue May 16, 2018 · 5 comments
Open

Error while building after update #342

Gryxx opened this issue May 16, 2018 · 5 comments

Comments

@Gryxx
Copy link

Gryxx commented May 16, 2018

After updatin sources git pull --recurse-submodules i get error while executing cmake -DCMAKE_BUILD_TYPE=Release ..
if I purge old files and download sources by git clone --recursive https://github.com/degenerated1123/REGoth.git I can run cmake and compile with no errors. I'm pretty new to git, so i may be doing something wrong. cmake complains about missing files- I assume I could mess up updating submodules (even if console output indicates downloading some?)

@Gryxx
Copy link
Author

Gryxx commented May 16, 2018

output.txt

@Gryxx
Copy link
Author

Gryxx commented May 16, 2018

And console output after downloading fresh files.
output.txt

@ataulien
Copy link
Collaborator

I don't see the error in the first output, but I'm not sure if git pull --recurse-submodules works.

I always do a normal git pull followed by git submodule update --init --recursive

@Gryxx
Copy link
Author

Gryxx commented May 17, 2018

It seems to work on relativity new source files. Older ones still missing some files. I'll wait for a few updates to see if it works,

@markusobi
Copy link
Contributor

When cloning the Repo, there are two ways:

  • git clone --recursive <git_url>
  • git clone <git_url>
    git submodule update --init --recursive

But when a new submodule gets added (libdmusic was recently added) you need to init this submodule manually by running:
git submodule update --init --recursive

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

3 participants