Jump to content


Community Members
  • Content Count

  • Joined

  • Last visited

Community Reputation

3 Neutral

About Dansasbu

  • Rank

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hi, I have some news! First, I updated svn to r22827 (I checked it by: svn info --show-item revision), then I followed the Itms instructions. The patch worked very well, no errors reported. Running the automated tests also don't show errors (binaries/system/test), however when I tried to run the game I got this daniel@jetson-nano:~/Downloads/0AD/0ad$ binaries/system/pyrogenesis TIMER| InitVfs: 618.079 us Writing the mainlog at /home/daniel/.config/0ad/logs/mainlog.html TIMER| CONFIG_Init: 7.06997 ms Sound: AlcInit success, using OpenAL Soft TIMER| shutdown ConfigDB: 0.677 us TIMER| resource modules: 4.04244 ms TIMER TOTALS (9 clients) ----------------------------------------------------- tc_pool_alloc: 0 us (0x) tc_png_decode: 0 us (0x) tc_dds_transform: 0 us (0x) tc_transform: 0 us (0x) tc_plain_transform: 0 us (0x) tc_ShaderGLSLLink: 0 us (0x) tc_ShaderGLSLCompile: 0 us (0x) tc_ShaderValidation: 0 us (0x) xml_validation: 0 us (0x) ----------------------------------------------------- TIMER| shutdown misc: 479.744 us TIMER| InitVfs: 2.67878 ms Writing the mainlog at /home/daniel/.config/0ad/logs/mainlog.html TIMER| CONFIG_Init: 10.0518 ms Sound: AlcInit success, using OpenAL Soft dbus[8198]: arguments to dbus_message_new_method_call() were incorrect, assertion "path != NULL" failed in file ../../../dbus/dbus-message.c line 1362. This is normally a bug in some application using the D-Bus library. D-Bus not built with -rdynamic so unable to print a backtrace Aborted (core dumped) Seems to be a bug of SDL2: https://forum.odroid.com/viewtopic.php?t=30652 I run the following and the game works sudo killall ibus-daemon However the game runs a bit slowly, I disabled some graphics options but the enhancement is small. I will play a little more and see how it feels. Many many thanks!
  2. Ups, I think that I will take the another option and follow your instructions here.
  3. I'm very sorry . I need to create a Diff?
  4. Many thanks for your help! I've never used the patch platform before, but I can try it.
  5. Whitout the flag --with-system-mozjs38, I got this error from /home/daniel/Downloads/0ad/libraries/source/spidermonkey/mozjs-38.0.0/js/src/build-debug/js/src/Unified_cpp_js_src3.cpp:92: /home/daniel/Downloads/0ad/libraries/source/spidermonkey/mozjs-38.0.0/js/src/jit/shared/CodeGenerator-shared-inl.h: In member function ‘void js::jit::CodeGeneratorShared::verifyHeapAccessDisassembly(uint32_t, uint32_t, bool, js::Scalar::Type, const js::jit::Operand&, js::jit::LAllocation)’: /home/daniel/Downloads/0ad/libraries/source/spidermonkey/mozjs-38.0.0/js/src/jit/shared/CodeGenerator-shared-inl.h:232:10: error: ‘class js::jit::MacroAssembler’ has no member named ‘verifyHeapAccessDisassembly’ masm.verifyHeapAccessDisassembly(begin, end, ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  6. Thanks Stan, I did what you say. I passed the step of update-workspaces, installed first libmozjs-38-dev and later using this flags: ./update-workspaces.sh --with-system-nvtt --with-system-mozjs38 However, running the makefile in gcc folder, I got this error ==== Building mocks_real (release) ==== ==== Building network (release) ==== NetClient.cpp In file included from ../../../source/scriptinterface/ScriptVal.h:21:0, from ../../../source/network/NetClient.h:24, from ../../../source/network/NetClient.cpp:20: ../../../source/scriptinterface/ScriptTypes.h:83:2: error: #error Your compiler is trying to use an untested minor version of the SpiderMonkey library. If you are a package maintainer, please make sure to check very carefully that this version does not change the behaviour of the code executed by SpiderMonkey. Different parts of the game (e.g. the multiplayer mode) rely on deterministic behaviour of the JavaScript engine. A simple way for testing this would be playing a network game with one player using the old version and one player using the new version. Another way for testing is running replays and comparing the final hash (check trac.wildfiregames.com/wiki/Debugging#Replaymode). For more information check this link: trac.wildfiregames.com/wiki/Debugging#Outofsync #error Your compiler is trying to use an untested minor version of the \ ^~~~~ network.make:137: recipe for target 'obj/network_Release/NetClient.o' failed make[1]: *** [obj/network_Release/NetClient.o] Error 1 Makefile:74: recipe for target 'network' failed make: *** [network] Error 2 I found this on the web : https://trac.wildfiregames.com/ticket/3039?cversion=0&cnum_hist=2 Since I don't know which MOZJS_MINOR_VERSION should I use, I removed that version check from the "source/scriptinterface/ScriptTypes.h" file. However I'm getting this error: BinarySerializer.cpp In file included from /usr/include/mozjs-38/jspubtd.h:19:0, from ../../../source/scriptinterface/ScriptTypes.h:60, from ../../../source/scriptinterface/ScriptVal.h:21, from ../../../source/simulation2/serialization/ISerializer.h:23, from ../../../source/simulation2/serialization/BinarySerializer.h:21, from ../../../source/simulation2/serialization/BinarySerializer.cpp:20: ../../../source/simulation2/serialization/BinarySerializer.cpp: In member function ‘void CBinarySerializerScriptImpl::HandleScriptVal(JS::HandleValue)’: ../../../source/simulation2/serialization/BinarySerializer.cpp:150:36: error: ‘js::js’ has not been declared #define JSCLASS_CACHED_PROTO_WIDTH js::JSCLASS_CACHED_PROTO_WIDTH ^ /usr/include/mozjs-38/js/Class.h:442:56: note: in expansion of macro ‘JSCLASS_CACHED_PROTO_WIDTH’ #define JSCLASS_CACHED_PROTO_MASK JS_BITMASK(js::JSCLASS_CACHED_PROTO_WIDTH) ^~~~~~~~~~~~~~~~~~~~~~~~~~ simulation2.make:942: recipe for target 'obj/simulation2_Release/BinarySerializer.o' failed make[1]: *** [obj/simulation2_Release/BinarySerializer.o] Error 1 Makefile:98: recipe for target 'simulation2' failed make: *** [simulation2] Error 2 I don't know if all this checks are for play online, and there is another way to install the game to play against the AI only.
  7. I'm sorry but I don't understand how to do that Can you give me some guide? Thanks.
  8. In Ubuntu (bionic) repos I found this versions of spidermonkey: libmozjs-38-dev, and libmozjs-52-dev. But the game seems to need the 45 version of spidermonkey.
  9. I tried to compile from source. I followed this guide https://trac.wildfiregames.com/wiki/BuildInstructions, I downloaded the code with svn: svn co https://svn.wildfiregames.com/public/ps/trunk/ 0ad Building with this flags: ./update-workspaces.sh --with-system-nvtt I'm getting this error (when is building spidermonkey) In file included from /home/daniel/Downloads/0ad/libraries/source/spidermonkey/mozjs-45.0.2/js/src/build-debug/js/src/Unified_cpp_js_src13.cpp:2:0: /home/daniel/Downloads/0ad/libraries/source/spidermonkey/mozjs-45.0.2/js/src/jit/IonCaches.cpp: In function ‘void CheckDOMProxyExpandoDoesNotShadow(JSContext*, js::jit::MacroAssembler&, JSObject*, jsid, js::jit::Register, js::jit::Label*)’: /home/daniel/Downloads/0ad/libraries/source/spidermonkey/mozjs-45.0.2/js/src/jit/IonCaches.cpp:702:14: error: ‘class js::jit::MacroAssembler’ has no member named ‘branch64’; did you mean ‘branch32’? masm.branch64(Assembler::NotEqual, ^~~~~~~~ branch32 /home/daniel/Downloads/0ad/libraries/source/spidermonkey/mozjs-45.0.2/config/rules.mk:956: recipe for target 'Unified_cpp_js_src13.o' failed make[3]: *** [Unified_cpp_js_src13.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory '/home/daniel/Downloads/0ad/libraries/source/spidermonkey/mozjs-45.0.2/js/src/build-debug/js/src' /home/daniel/Downloads/0ad/libraries/source/spidermonkey/mozjs-45.0.2/config/recurse.mk:71: recipe for target 'js/src/target' failed make[2]: *** [js/src/target] Error 2 make[2]: Leaving directory '/home/daniel/Downloads/0ad/libraries/source/spidermonkey/mozjs-45.0.2/js/src/build-debug' /home/daniel/Downloads/0ad/libraries/source/spidermonkey/mozjs-45.0.2/config/recurse.mk:32: recipe for target 'compile' failed make[1]: *** [compile] Error 2 make[1]: Leaving directory '/home/daniel/Downloads/0ad/libraries/source/spidermonkey/mozjs-45.0.2/js/src/build-debug' /home/daniel/Downloads/0ad/libraries/source/spidermonkey/mozjs-45.0.2/config/rules.mk:547: recipe for target 'default' failed make: *** [default] Error 2 ERROR: SpiderMonkey build failed I tried to install spidermonkey first and then use the flag: --with-system-mozjs45 ./update-workspaces.sh --with-system-nvtt --with-system-mozjs45 but I had exactly the same problem when building spidermonkey. I couldn't find a solution on the web. There is a way of install the game without spidermonkey? Or maybe work with another version of spidermonkey? Thanks!
  10. Hi, I'm trying to install 0AD on my jetson-nano. I have ubuntu bionic installed, and an arm64 architecture. I'm using this ppa: ppa: wfg / 0ad, but seems to lack the package 0.0.23b (only appear 0.0.23) for 0ad, while for 0ad-data and 0ad-common there are 0.0.23b. because of that an unmet dependencies error raises. What I can do? I'm trying to download the 0.22 version, but I couldn't find it.
  • Create New...