Jump to content

radopenev

Community Members
  • Posts

    16
  • Joined

  • Last visited

Posts posted by radopenev

  1. all :)

    sudo apt-get install build-essential cmake libboost-dev libboost-system-dev   \
        libboost-filesystem-dev libcurl4-gnutls-dev libenet-dev libfmt-dev   \
        libgloox-dev libicu-dev libminiupnpc-dev libnvtt-dev libogg-dev   \
        libopenal-dev libpng-dev libsdl2-dev libsodium-dev libvorbis-dev   \
        libxml2-dev python rustc subversion zlib1g-dev
  2. Hi :),

    I've got a troubles with building game from source. After "git clone" ... "./update-workspaces.sh -j3" has finished with  error message  " the file fmt/printf.h    included in  ~/source/ps/CLogger.h not exist". I have added the full file path and  "./update-workspaces.sh -j3" has finished successefully:

    Updating bundled third-party dependencies...

    FCollada is already up to date.

    SpiderMonkey is already up to date.

    NVTT is already up to date.

    make: Entering directory '/home/ssdhp/0adnew/0ad/build/premake/premake5/build/gmake2.unix'
    ==== Building lua-lib (release) ====
    ==== Building zip-lib (release) ====
    ==== Building zlib-lib (release) ====
    ==== Building curl-lib (release) ====
    ==== Building mbedtls-lib (release) ====
    ==== Building luashim-lib (release) ====
    ==== Building example (release) ====
    ==== Building luasocket (release) ====
    ==== Building Premake5 (release) ====
    make: Leaving directory '/home/ssdhp/0adnew/0ad/build/premake/premake5/build/gmake2.unix'

    Premake args:  --atlas
    Building configurations...
    Running action 'gmake'...
    Done (2327ms).

    !!!...but "make -j3"   has finished with :

    "==== Building mocks_real (release) ====
    ==== Building network (release) ====
    ==== Building rlinterface (release) ====
    ==== Building tinygettext (release) ====
    ==== Building lobby (release) ====
    ==== Building glooxwrapper (release) ====
    ==== Building simulation2 (release) ====
    ==== Building scriptinterface (release) ====
    ==== Building engine (release) ====
    ==== Building graphics (release) ====
    ==== Building atlas (release) ====
    ==== Building gui (release) ====
    ==== Building lowlevel (release) ====
    ==== Building mongoose (release) ====
    ==== Building Collada (release) ====
    ==== Building pyrogenesis (release) ====
    Linking pyrogenesis
    /usr/bin/ld: not exist -lfmt
    collect2: error: ld returned 1 exit status
    pyrogenesis.make:80: recipe for target '../../../binaries/system/pyrogenesis' failed
    make[1]: *** [../../../binaries/system/pyrogenesis] Error 1
    Makefile:70: recipe for target 'pyrogenesis' failed
    make: *** [pyrogenesis] Error 2"

     A little help :), please

    p.s. Linux  4.15.0-99-generic #100-Ubuntu SMP Wed Apr 22 20:32:56 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

  3. .... finished! ..... but :

    Spoiler
    
    ...
    
    Linking Collada
    ==== Building pyrogenesis (release) ====
    Creating obj/pyrogenesis_Release
    main.cpp
    Linking pyrogenesis
    ../../../binaries/system/libgraphics.a(TextureConverter.o): in function 'CTextureConverter::ConvertTexture(std::shared_ptr<CTexture> const&, Path const&, Path const&, CTextureConverter::Settings const&)':
    /home/ssdhp/0ad-master/build/workspaces/gcc/../../../source/graphics/TextureConverter.cpp:436: unspecified reference to 'nvtt::InputOptions::setTextureLayout(nvtt::TextureType, int, int, int, int)'
    collect2: error: ld returned 1 exit status
    pyrogenesis.make:80: recipe for target '../../../binaries/system/pyrogenesis' failed
    make[1]: *** [../../../binaries/system/pyrogenesis] Error 1
    Makefile:68: recipe for target 'pyrogenesis' failed
    make: *** [pyrogenesis] Error 2
    ssdhp@ssd:~/0ad-master/build/workspaces/gcc$

     

     

  4. Thanks! Exactly that I asking... but have problem with building on ubuntu 18.04. according to  https://trac.wildfiregames.com/wiki/BuildInstructions

    can not correctly configure SpiderMonkey 45  and build failed.

    Spoiler
    
    ssdhp@ssd:~/Свалени/0ad-master/build/workspaces$ ./update-workspaces.sh --with-system-nvtt
    Updating bundled third-party dependencies...
    
    
    Building SpiderMonkey...
    
    SpiderMonkey build options: --disable-tests --disable-jemalloc --enable-shared-js --without-intl-api --enable-posix-nspr-emulation         
    --disable-tests --disable-jemalloc --enable-shared-js --without-intl-api --enable-posix-nspr-emulation
    patching file build/autoconf/nspr-build.m4
    patching file js/src/js.pc.in
    patching file config/external/zlib/moz.build
    patching file js/src/jit-test/tests/tracelogger/bug1266649.js
    patching file js/src/vm/TraceLogging.cpp
    patching file js/src/vm/TraceLogging.h
    patching file js/src/vm/TraceLoggingTypes.h
    patching file python/psutil/psutil/_psutil_bsd.c
    Hunk #1 succeeded at 943 (offset -14 lines).
    Hunk #2 succeeded at 963 (offset -14 lines).
    Hunk #3 succeeded at 1019 (offset -14 lines).
    patching file js/src/gc/Memory.cpp
    Hunk #1 succeeded at 433 (offset 3 lines).
    Hunk #2 succeeded at 483 (offset 3 lines).
    patching file js/src/jit/none/MacroAssembler-none.h
    patching file js/src/jsapi-tests/testGCAllocator.cpp
    patching file js/src/jit/AtomicOperations.h
    patching file js/src/tests/js1_5/Array/regress-157652.js
    patching file js/src/tests/js1_5/Array/regress-330812.js
    patching file js/src/tests/js1_5/Regress/regress-422348.js
    patching file mozglue/build/moz.build
    patching file js/src/jsapi.h
    patching file js/src/jspubtd.h
    patching file js/public/Utility.h
    Hunk #1 succeeded at 91 (offset 14 lines).
    patching file js/src/jsalloc.h
    creating cache ./config.cache
    checking host system type... x86_64-unknown-linux-gnu
    checking target system type... x86_64-unknown-linux-gnu
    checking build system type... x86_64-unknown-linux-gnu
    checking for gawk... gawk
    checking for perl5... no
    checking for perl... /usr/bin/perl
    checking for gcc... gcc
    checking whether the C compiler (gcc  ) works... yes
    checking whether the C compiler (gcc  ) is a cross-compiler... no
    checking whether we are using GNU C... yes
    checking whether gcc accepts -g... yes
    checking for c++... c++
    checking whether the C++ compiler (c++  -fno-schedule-insns2 -fno-delete-null-pointer-checks -DTRACE_LOG_DIR="\"../../source/tools/tracelogger/\"" ) works... yes
    checking whether the C++ compiler (c++  -fno-schedule-insns2 -fno-delete-null-pointer-checks -DTRACE_LOG_DIR="\"../../source/tools/tracelogger/\"" ) is a cross-compiler... no
    checking whether we are using GNU C++... yes
    checking whether c++ accepts -g... yes
    checking for ranlib... ranlib
    checking for as... /usr/bin/as
    checking for ar... ar
    checking for ld... ld
    checking for strip... strip
    checking for windres... no
    checking how to run the C preprocessor... gcc -E
    checking how to run the C++ preprocessor... c++ -E
    checking for rustc... /home/ssdhp/.cargo/bin/rustc
    checking rustc version... 1.40.0 (v1.40.0)
    checking for sb-conf... no
    checking for ve... no
    checking for a BSD compatible install... /usr/bin/install -c
    checking whether ln -s works... yes
    checking for tar archiver... checking for gnutar... no
    checking for gtar... no
    checking for tar... tar
    tar
    checking for minimum required perl version >= 5.006... 5.026001
    checking for full perl installation... yes
    checking for python2.7... /usr/bin/python2.7
    Creating Python environment
    /home/ssdhp/Свалени/0ad-master/libraries/source/spidermonkey/mozjs-45.0.2/python/mozbuild/mozbuild/virtualenv.py:475: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
      if sys.argv[1] == 'populate':
    Traceback (most recent call last):
      File "/home/ssdhp/Свалени/0ad-master/libraries/source/spidermonkey/mozjs-45.0.2/python/mozbuild/mozbuild/virtualenv.py", line 485, in <module>
        manager.ensure()
      File "/home/ssdhp/Свалени/0ad-master/libraries/source/spidermonkey/mozjs-45.0.2/python/mozbuild/mozbuild/virtualenv.py", line 128, in ensure
        return self.build()
      File "/home/ssdhp/Свалени/0ad-master/libraries/source/spidermonkey/mozjs-45.0.2/python/mozbuild/mozbuild/virtualenv.py", line 381, in build
        self.create()
      File "/home/ssdhp/Свалени/0ad-master/libraries/source/spidermonkey/mozjs-45.0.2/python/mozbuild/mozbuild/virtualenv.py", line 140, in create
        args = [sys.executable, self.virtualenv_script_path,
      File "/home/ssdhp/Свалени/0ad-master/libraries/source/spidermonkey/mozjs-45.0.2/python/mozbuild/mozbuild/virtualenv.py", line 60, in virtualenv_script_path
        'virtualenv.py')
      File "/usr/lib/python2.7/posixpath.py", line 73, in join
        path += '/' + b
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 12: ordinal not in range(128)
    ------ config.log ------
    configure:3278:1: warning: incompatible implicit declaration of built-in function 'exit'
    configure:3278:1: note: include '<stdlib.h>' or provide a declaration of 'exit'
    configure:3301: checking for ranlib
    configure:3333: checking for as
    configure:3387: checking for ar
    configure:3422: checking for ld
    configure:3457: checking for strip
    configure:3492: checking for windres
    configure:3782: checking how to run the C preprocessor
    configure:3803: gcc -E  conftest.c >/dev/null 2>conftest.out
    configure:3862: checking how to run the C++ preprocessor
    configure:3880: c++ -E  conftest.C >/dev/null 2>conftest.out
    configure:3908: checking for rustc
    configure:3955: checking rustc version
    configure:4408: checking for sb-conf
    configure:4408: checking for ve
    configure:4470: checking for a BSD compatible install
    configure:4523: checking whether ln -s works
    configure:4545: checking for tar archiver
    configure:4551: checking for gnutar
    configure:4551: checking for gtar
    configure:4551: checking for tar
    configure:4588: checking for minimum required perl version >= 5.006
    configure:4598: checking for full perl installation
    configure:4616: checking for python2.7
    ERROR: SpiderMonkey build failed

     

     

  5. The first, may be my mistake - lets explain  what exactly is the issue here!?!

    * game: singel player

    * save game  and reopen after that and finish successfully 

          in the replay folder:    1) dir / commands.txt; metadata.json/ to the saving moment

                                                     2)dir/ commands.txt; metadata.json/ from the saving moment to the end

    Replay 1) start and go OK... but 2) for the reasons described on  #3963  is unreplayable!

    OK .... I want to make 2)  replayable

    *According to  #3963    and 

            Let's define :

                    * start-commands.txt - from 1)

                    *end-commands.txt - from 2) which is exactly unreplayable

         *remove "header" of 2) and get everything after/ "turn"s,"end"s,"cmd"s

        *set the offset  of turn numbers in 2) like continued of 1) ( from the (last number of 1))+1 .....to the end)

        * change command.txt from 2) with the new commands.txt generated from start-commands.txt and (end-commands.txt modified)

        

    Finally  start replay 2) .....   Replay not playing out as the real game finishing. To the saving moment everything is OK( no news here), but after that "scenario" happens not like the real game, definitely.... and final is tragedy!

  6. Can you show me a numbers of the "end"s which are next to each other.... please ?

    ... p.s.  regex( turn(.*)\nturn         end\nend  ) search show me nothing

     

    sorry,  I can not reply , forum-admin say: "You have reached the maximum number of posts you can make per day.", may be because  I'm new user :( and can only edit old posts, so  yes: Replay not playing out as the real game finishing. To the saving moment everything is OK( no news here), but after that "scenario" happens not like the real game, definitely.... and final is tragedy!

     

  7. AllCommands.tar.gzHi!

    According to  #3963  ,from bug tracker "...the replay will end with the disconnect and a new one will be written starting after the connect, containing only turns after that time....means the replay will become unreplayable"

    My question is:  in new command.txt   "will be written starting after the connect, containing only turns after that time"(?) if I'm correct ?

    Let's define :

    * start-commands.txt - the turns before saving the game-session

    *end-commands.txt - the turns after saving the game-session which is exactly unreplayable

     

     and the appending of start-commands.txt and end-commands.txt  turns will solve the problem?

    Something like  attachments.... the new one commands.txt is result of appending

    .... but it NOT solving nothing ... replay is go, but final is not the same like new game-session0ADGoldIsland.thumb.png.0c89800d4f9a4bb9f7c238737a98c747.png

    AllCommands.tar.gz

×
×
  • Create New...