REGoth icon indicating copy to clipboard operation
REGoth copied to clipboard

Error while building after update

Open Gryxx opened this issue 7 years ago • 5 comments

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 avatar May 16 '18 20:05 Gryxx

output.txt

Gryxx avatar May 16 '18 20:05 Gryxx

And console output after downloading fresh files. output.txt

Gryxx avatar May 16 '18 20:05 Gryxx

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

ataulien avatar May 16 '18 21:05 ataulien

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,

Gryxx avatar May 17 '18 16:05 Gryxx

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

markusobi avatar May 18 '18 20:05 markusobi