Jump to content
  • Topics

  • Posts

    • @ManasManushya just in case, did you run 0ad/libraries/build-source-libs.sh script before trying to compile?
    • So, it looks like premake 5 binary is not in the correct folder, or cmake can't find it. Here's what ai said:  The error ../../libraries/source/premake-core/bin/premake5: No such file or directory confirms the Premake 5 binary is missing from your source tree.  The 0 A.D. build script expects this specific file to exist to generate the Makefiles.  1. Download and Place the Binary (Recommended Fix) You must manually download the Premake 5 binary and place it in the exact directory the script expects.  Navigate to the root of your 0 A.D. source folder: cd ~/Documents/Projects_Collab/0ad Create the expected directory structure: mkdir -p libraries/source/premake-core/bin Download the latest Premake 5 binary (Beta 2 is currently stable for 0 A.D.): cd libraries/source/premake-core/bin wget https://github.com/premake/premake-core/releases/download/v5.0.0-beta2/premake-5.0.0-beta2-linux.tar.gz Extract and Verify: tar -xzf premake-5.0.0-beta2-linux.tar.gz # Ensure the file is named exactly 'premake5' ls -l premake5 chmod +x premake5 Return to root and retry the build: cd ../../../../ cd build/workspaces ./update-workspaces.sh cd gcc make -j$(nproc)
    • Still the same error: ~/Doc/Projects_Collab/0ad/build/workspaces main ?3 > ./update-workspaces.sh cd gcc make -j$(nproc) ./update-workspaces.sh: line 46: ../../libraries/source/premake-core/bin/premake5: No such file or directory ERROR: Premake failed cd: no such file or directory: gcc make: *** No targets specified and no makefile found.  Stop. I had just installed premake
    • From you latest error, the ai said you need to install Premake 5 binary
×
×
  • Create New...