Jump to content

Recommended Posts

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

Edited by radopenev
post system
Link to post
Share on other sites

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
Link to post
Share on other sites

@radopenev, did it work at some point in the past?

If you're experiencing errors you didn't encounter before, you should try doing a clean:

cd build/workspaces/gcc/
make clean
cd ../
sh clean-workspaces.sh
cd ../../

and update (svn up or git pull), then build the game again.

19 hours ago, radopenev said:

" the file fmt/printf.h    included in  ~/source/ps/CLogger.h not exist"

Could you check which version of fmt you have installed?

Link to post
Share on other sites
  • 1 month later...

Tis no bug! My foult! i did not used make -j33333 at then end. when that is forgotten, the following happens. either leave the posting here and simply forget it or delete it. Thank you. BTW That first i using SVN with Linux.

i using ubuntu.

i able to build and start the game by using the git version.
but this is always a bit, some days old.

i able to build NOT start the game by using the SVN version.

# SVN - thats always the newest version 
https://trac.wildfiregames.com/wiki/BuildInstructionsGettingTheCode
sudo apt update
sudo apt install subversion
mdkir svn; cd svn;
svn co https://svn.wildfiregames.com/public/ps/trunk/ 0ad
cd ~/svn/0ad/build/workspaces
cd ~/svn/0ad/build/workspaces ; ./update-workspaces.sh -j13
# thats not found:
~/svn/0ad/binaries/system/pyrogenesis &


# GITHUB thats working, but a bit old
~/0ad/binaries/system/pyrogenesis &
#update git i do very often:
cd ~/0ad; git fetch https://github.com/0ad/0ad.git
cd ~/0ad/build/workspaces ;./update-workspaces.sh -j13
~/0ad/binaries/system/pyrogenesis &

 

 

image.png

Edited by seeh
  • Like 1
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...