REGoth-project / REGoth

OpenSource-Reimplementation of the zEngine, used by the game "Gothic"
GNU General Public License v3.0
628 stars 63 forks source link

Error while building after update #342

Open Gryxx opened 6 years ago

Gryxx commented 6 years ago

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 commented 6 years ago

output.txt

Gryxx commented 6 years ago

And console output after downloading fresh files. output.txt

ataulien commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

When cloning the Repo, there are two ways:

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