Topic: boost again
Ex-Member Topic Opener |
Posted at: 2018-11-06, 09:14
Trying to build I get Errors while running CTest ninja: build stopped: subcommand failed. This is caused by libbost requested files being out of date, I have 1.68 build needs 1.67. I usually go through libboost creating symlinks to allow widelands to load the newer libs. Would it be better to have widelands use > version number rather than = version number? Top Quote |
Tino |
Posted at: 2018-11-06, 11:15
Hm widelands does:
And on Appveyor and e.g. my system this leads to:
Cmake would need an additional parameter to force a certain version:
What cmake version are you using? Top Quote |
Ex-Member Topic Opener |
Posted at: 2018-11-06, 16:07
I use the repo update.sh script, which gives Boost version: 1.68.0 -- Found the following Boost libraries: -- unit_test_framework -- regex -- system The failure occurs with the test project step error while loading shared libraries: libboost_unit_test_framework.so.1.67.0: cannot open shared object file: No such file or directory I have cmake 3.12.4 Top Quote |
GunChleoc |
Posted at: 2018-11-06, 18:55
It's strange that it's trying to link a different version from the one it has found. Have you tried deleting the build directory and compiling from scratch? Maybe something got misaligned in the cmake cache. Busy indexing nil values Top Quote |
kaputtnik |
Posted at: 2018-11-06, 19:56
Yes, deleting the build directory and compile from scratch solves the issue Fight simulator for Widelands: |
Ex-Member Topic Opener |
Posted at: 2018-11-07, 09:36
Ok got past the boost problem and widelands runs, tried to update using update.sh and get this Linking CXX executable src/website/wl_map_object_info mv: cannot stat 'VERSION': No such file or directory after the tests complete. Trying to run ./widelands gives bash: ./widelands: No such file or directory Edited: 2018-11-07, 09:37
Top Quote |
GunChleoc |
Posted at: 2018-11-07, 10:24
That's a bug - I already have a merge request up: https://code.launchpad.net/~widelands-dev/widelands/bug-1800814-update-script/+merge/358419 Instead of the update script, you can run:
Then run the compile script again with the same options that you used previously. Busy indexing nil values Top Quote |