radopenev 1 Posted December 20, 2020 Report Share Posted December 20, 2020 (edited) 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 December 20, 2020 by radopenev post system Quote Link to post Share on other sites
OptimusShepard 84 Posted December 20, 2020 Report Share Posted December 20, 2020 (edited) You need to install libfmt. Look at the new build dependencies. https://trac.wildfiregames.com/wiki/BuildInstructions Edited December 20, 2020 by OptimusShepard Quote Link to post Share on other sites
radopenev 1 Posted December 20, 2020 Author Report Share Posted December 20, 2020 Thanks a lot for replay. After "libfmt-dev" instalation, a ton of err/mess have appeared like: " 0ad/libraries/win32/fmt/include/fmt/format.h:1084: unspecified reference to 'fmt::v7::detail::basic_data<void>::hex_digits' " maybe lib/conflict Thanks again. Quote Link to post Share on other sites
OptimusShepard 84 Posted December 20, 2020 Report Share Posted December 20, 2020 Did you check the other dependencies too? I remember rustc is also new. I don't know, if there are some more new dependencies. Quote Link to post Share on other sites
radopenev 1 Posted December 20, 2020 Author Report Share Posted December 20, 2020 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 Quote Link to post Share on other sites
OptimusShepard 84 Posted December 20, 2020 Report Share Posted December 20, 2020 Did you run "update-workspaces.sh" again? I guess you should. Else @wraitii might have an idea. Quote Link to post Share on other sites
radopenev 1 Posted December 21, 2020 Author Report Share Posted December 21, 2020 (edited) Yes, i did! After 1)' ./update-workspaces.sh' 2) 'make -j3' , the arr/mess have reporting the problems. Edited December 21, 2020 by radopenev Quote Link to post Share on other sites
Nescio 1.526 Posted December 21, 2020 Report Share Posted December 21, 2020 @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? Quote Link to post Share on other sites
radopenev 1 Posted December 21, 2020 Author Report Share Posted December 21, 2020 All is my mistake! 1. install all dependencies 2. the path from source is absolutely correct (not need of changes #include<fmt/printf.h> in source/ps/CLogger.h ) 3. ./update-workspaces.sh -j3 4. cd gcc 5. make -j3 (fmt --version fmt (GNU coreutils) 8.28..) Quote Link to post Share on other sites
OptimusShepard 84 Posted December 21, 2020 Report Share Posted December 21, 2020 3 hours ago, radopenev said: All is my mistake! So you find the problem and you got it to work? Quote Link to post Share on other sites
Stan` 7.038 Posted December 21, 2020 Report Share Posted December 21, 2020 He was talking to me in a PM as well. I believe he hit the GCC7 crash, as he is using an older Ubuntu version. I'm waiting for his answer. Quote Link to post Share on other sites
GunChleoc 467 Posted December 22, 2020 Report Share Posted December 22, 2020 (edited) The package manager's rust version might also be outdated. Best install it via https://www.rust-lang.org/tools/install See also Edited December 22, 2020 by GunChleoc Quote Link to post Share on other sites
seeh 3 Posted February 11 Report Share Posted February 11 (edited) 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 & Edited February 11 by seeh 1 Quote Link to post Share on other sites
seeh 3 Posted February 11 Report Share Posted February 11 (edited) solved i fogot make -j3 in unbuntu i use now a sh-cript **0ad-subversion-fetch-and-start.sh**https://gist.github.com/sl5net/7453cb8d9a1c040e9524969b57a6e209 Edited February 12 by seeh 1 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.