Jump to content
  • Topics

  • Posts

    • I want to try a local build version of the 0ad 28 on my debian system. So I got the source code tar file from: https://play0ad.com/download/source/  (direct download tar). The I followed the built instructions on: https://gitea.wildfiregames.com/0ad/0ad/wiki/ . (Where the Linux  getting the libarys section could be better separated from the rest of instructions) So far, I sucessfully built the libarys. But when I invoke the make comand it brakes not finding libary / header files, altough, they are available on my system.   gamer@Nanox:~/bin/0ad-0.28.0/build/workspaces/gcc$ make -j5 [...] ==== Building simulation2 (release) ==== Globals.cpp precompiled.h In file included from ../../../source/lobby/Globals.cpp:20: ../../../source/lobby/IXmppClient.h:23:10: fatal error: js/Value.h: Datei oder Verzeichnis nicht gefunden 23 | #include <js/Value.h> | ^~~~~~~~~~~~ compilation terminated. make[1]: *** [lobby.make:162: obj/lobby_Release/Globals.o] Fehler 1 make: *** [Makefile:104: lobby] Fehler 2 make: *** Es wird auf noch nicht beendete Prozesse gewartet … In file included from ../../../source/dapinterface/DapInterface.cpp:20: ../../../source/dapinterface/DapInterface.h:24:10: fatal error: js/RootingAPI.h: Datei oder Verzeichnis nicht gefunden 24 | #include <js/RootingAPI.h> | ^~~~~~~~~~~~~~~~~ compilation terminated. ../../../source/scriptinterface/ScriptForward.h:21:10: fatal error: js/TypeDecls.h: Datei oder Verzeichnis nicht gefunden 21 | #include "js/TypeDecls.h" | ^~~~~~~~~~~~~~~~ compilation terminated. I have checktd the files are on my system, something with the path seems wrong. I also installed them via apt from debian:   ~/bin/0ad-0.28.0/build/workspaces/gcc$ locate RootingAPI.h /home/gamer/bin/0ad-0.28.0/libraries/source/spidermonkey/mozjs-128.13.0/js/public/RootingAPI.h /usr/include/x86_64-linux-gnu/mozjs-128/js/RootingAPI.h ~/bin/0ad-0.28.0/build/workspaces/gcc$ locate Value.h /home/gamer/bin/0ad-0.28.0/libraries/source/spidermonkey/mozjs-128.13.0/js/public/Value.h /home/gamer/bin/0ad-0.28.0/libraries/source/spidermonkey/mozjs-128.13.0/js/src/wasm/WasmValue.h /home/gamer/bin/0ad-0.28.0/libraries/source/spidermonkey/mozjs-128.13.0/mozglue/baseprofiler/public/ProportionValue.h /home/gamer/bin/0ad-0.28.0/source/graphics/SmoothedValue.h /usr/include/llvm-19/llvm/CodeGen/PseudoSourceValue.h /usr/include/llvm-19/llvm/DebugInfo/DWARF/DWARFFormValue.h /usr/include/llvm-19/llvm/ExecutionEngine/GenericValue.h /usr/include/llvm-19/llvm/IR/GlobalValue.h /usr/include/llvm-19/llvm/IR/Value.h /usr/include/llvm-19/llvm/MC/MCValue.h /usr/include/x86_64-linux-gnu/mozjs-128/js/Value.h /usr/include/x86_64-linux-gnu/mozjs-128/mozilla/ProportionValue.h gamer@Nanox:~/bin/0ad-0.28.0/build/workspaces/gcc$ locate TypeDecls.h /home/gamer/bin/0ad-0.28.0/libraries/source/spidermonkey/mozjs-128.13.0/js/public/TypeDecls.h /home/gamer/bin/0ad-0.28.0/libraries/source/spidermonkey/mozjs-128.13.0/js/src/wasm/WasmTypeDecls.h /usr/include/x86_64-linux-gnu/mozjs-128/js/TypeDecls.h So, what to do....
    • lets go delete this persian building. Why a storage produce food. why add eco feature to 220 pop civilization
    • No more issue at all here i.e. Arch Linux with package 0ad-0.28.0-2 (reverting to js115 from js128) as @ffm2 wrote yesterday evening (just not specifying the version). ty @Stan` for clarifying the spidermonkey bug that caused the issue. Now back to my issue as I'm lagging behind the game's new speed (efficiency) even on a light setup 
×
×
  • Create New...