You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I cloned the game on Pop!_OS 22.04 and ran 'sudo apt-get install python3 git clang libsdl2-dev'. Then after changing directory into the cloned game, I ran 'zig build'. The terminal responded with:
fatal: No names found, cannot describe anything.
unable to spawn the following command: ExitCodeFailure
git -C /home/gilead/legend-of-swarkland describe --tags
error: the following build command failed with exit code 1:
/home/gilead/legend-of-swarkland/.zig-cache/o/d047539bab64d9a9882a3770e1a4bfc6/build /home/gilead/Downloads/zig-linux-x86_64-0.13.0-dev.351+64ef45eb0/zig /home/gilead/legend-of-swarkland /home/gilead/legend-of-swarkland/.zig-cache /home/gilead/.cache/zig --seed 0xe5fc55cd -Zc0c5f8f0bfbf8c99
The text was updated successfully, but these errors were encountered:
I often update the codebase to use the latest version of zig at the time of making the updates. You can check the commit history for which version of zig i've updated to most recently. Currently it's zig 0.14.0-dev.1743+eb363bf84.
However, looking at that error, it looks like you didn't include the .git directory when trying to build? The game embeds some git commit information in the compiled binary to display it on the main menu, so the .git history is necessary to build.
I cloned the game on Pop!_OS 22.04 and ran 'sudo apt-get install python3 git clang libsdl2-dev'. Then after changing directory into the cloned game, I ran 'zig build'. The terminal responded with:
The text was updated successfully, but these errors were encountered: