Topic: What is Boost?
Atanase![]() Topic Opener |
Posted at:
2021-04-21, 08:47 UTC+2.0
Hello, For several days now I have been breaking my head trying to compile the version I cloned from GitHub. It took me a while to find the necessary 'devel' libraries but I think I was able to. Now when I run the compilation with './compile.sh' the system throws me back a bunch of insults about a certain 'boost_unit_test_framework' that it wouldn't find. So what can this 'thing' be used for? Is it essential? If someone who has solved this kind of problem in Linux could give me any information, that would really be a big step forward. Thank you in advance. My Linux : OpenSuse Tumbleweed updated 3 days ago. La connaissance ne vaut que si elle est partagée par le plus grand nombre. ![]() ![]() |
WorldSavior![]() |
Posted at:
2021-04-21, 09:04 UTC+2.0
Bonjour, have you already applied this page? https://www.widelands.org/wiki/Building%20Widelands/#opensuse-132 Wanted to save the world, then I got widetracked ![]() ![]() |
Atanase![]() Topic Opener |
Posted at:
2021-04-21, 10:21 UTC+2.0
Yes for the page. But it is not really up to date. La connaissance ne vaut que si elle est partagée par le plus grand nombre. ![]() ![]() |
Nordfriese![]() |
Posted at:
2021-04-21, 11:24 UTC+2.0
Boost is required for building, unfortunately. There are many boost libraries, I don't know what the exact names under OpenSuse are but perhaps there are packages called something similar to ![]() ![]() |
Atanase![]() Topic Opener |
Posted at:
2021-04-21, 12:03 UTC+2.0
OK, Now it seems to work but I have added I don't know if all is necessary, I will do some tests when the compilation is complete to find the true list of packages to add and I'll post it. Now it is compiling. I hope it will be good. What is the command to clean the directories? I need it to test the "lib-devel". La connaissance ne vaut que si elle est partagée par le plus grand nombre. ![]() ![]() |
Atanase![]() Topic Opener |
Posted at:
2021-04-21, 15:39 UTC+2.0
Arghhhhhh I must be cursed.
This is the output of the command ./widelands I will spare you some WARNINGS such as:
I think I'll go have a whiskey. La connaissance ne vaut que si elle est partagée par le plus grand nombre. ![]() ![]() |
Nordfriese![]() |
Posted at:
2021-04-21, 16:03 UTC+2.0
Wrong datadir. I wager a guess that you have a system-wide installation of Widelands build-21 and are now trying to run a self-compiled build of latest master? Widelands by default tries to use the system-wide data directory first (a known bug); the solution is to either uninstall b21 or to specify the datadir explicitly when starting Widelands via ![]() ![]() |
Atanase![]() Topic Opener |
Posted at:
2021-04-21, 16:36 UTC+2.0
I have the version proposed by Suse. Maybe the one you call "system-wide". Is it possible to install widelands as we do when we use something like the "classic" : As I need English and French version to verify translations I have some little scripts:
one which change the $LANG before running the game
one which copy the French .mo in the desired directory So it would be easier for me to have only one structure for build-21, latest-master and next V 1.0. La connaissance ne vaut que si elle est partagée par le plus grand nombre. ![]() ![]() |
Nordfriese![]() |
Posted at:
2021-04-21, 16:51 UTC+2.0
As a rule, a Widelands version can not use the data directory of another version. They just differ in too many aspects, every new version has (and uses) features that are not available in earlier versions, and also requires new information that was not present in older versions yet. You could try whether you can merge the two data directories into one, but it would without doubt take a lot of effort to get everything working with both versions, and it may introduce a lot of bugs that don't happen with a clean datadir, and there's no guarantee it is possible at all. But you can place any individual files you wish to share across Widelands versions in your Widelands homedir. Placing a file in We also have ![]() ![]() |
Atanase![]() Topic Opener |
Posted at:
2021-04-21, 17:32 UTC+2.0
Ok, I see, more work than to rewrite my scripts. During this time I made some tests about libboosst-devel. For OpenSuse Tumbleweed it is necessary to install: Maybe it would be useful to add this information to the wiki. Actually the leap version is 15.2 and the rolling is Tumbleweed. La connaissance ne vaut que si elle est partagée par le plus grand nombre. ![]() ![]() |