radopenev Posted December 20, 2020 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 Link to comment Share on other sites More sharing options...
OptimusShepard Posted December 20, 2020 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 Link to comment Share on other sites More sharing options...
radopenev Posted December 20, 2020 Author 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. Link to comment Share on other sites More sharing options...
OptimusShepard Posted December 20, 2020 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. Link to comment Share on other sites More sharing options...
radopenev Posted December 20, 2020 Author 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 Link to comment Share on other sites More sharing options...
OptimusShepard Posted December 20, 2020 Share Posted December 20, 2020 Did you run "update-workspaces.sh" again? I guess you should. Else @wraitii might have an idea. Link to comment Share on other sites More sharing options...
radopenev Posted December 21, 2020 Author 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 Link to comment Share on other sites More sharing options...
Nescio Posted December 21, 2020 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? Link to comment Share on other sites More sharing options...
radopenev Posted December 21, 2020 Author 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..) Link to comment Share on other sites More sharing options...
OptimusShepard Posted December 21, 2020 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? Link to comment Share on other sites More sharing options...
Stan` Posted December 21, 2020 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. Link to comment Share on other sites More sharing options...
GunChleoc Posted December 22, 2020 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now