Topic: Shipcontrols doesn' t work
GunChleoc |
Posted at: 2015-02-15, 09:48
We have had some changes in or dependencies since build 18, e.g. we switched from SDL to SDL2. So, this is probably where the problem lies. Busy indexing nil values Top Quote |
flipflipsen Topic Opener |
Posted at: 2015-02-15, 09:56
Something goes wrong I think. I post the last part of the compiling process. [1498/2013] Linking CXX executable src/scripting/test/test_scripting
src/third_party/libthird_party_eris.a(loslib.c.o): In function Top Quote |
Tibor |
Posted at: 2015-02-15, 09:58
Oh yes, flipflipsen was not very specific what did not work when he compiled the trunk. If failed compilation was the problem, here is list of packages to install: https://wl.widelands.org/wiki/BuildingWidelands/#ubuntu__debian I understood that game compiled, run, but functionality was still broken (as expected in trunk) EDIT:
to post chunk of code or just an console output, you can switch to Markup:bbcode and wrap the text to EDIT2:
oh, Edited: 2015-02-15, 10:05
Top Quote |
GunChleoc |
Posted at: 2015-02-15, 10:09
Does Widelands need more RAM since Build18? @Tibor: snap Edited: 2015-02-15, 10:10
Busy indexing nil values Top Quote |
Tibor |
Posted at: 2015-02-15, 10:14
I think ninja is to blame - it tries to compile in more threads and it exhausts the memory. The most primitive way to avoid this is to uninstall ninja - I think. cmake compiles in one thread. Can in more but the compile script is not set up that way. Top Quote |
SirVer |
Posted at: 2015-02-15, 10:39
Widelands needs less RAM in fact. The compilation might need more. Using only one thread might help: Top Quote |
flipflipsen Topic Opener |
Posted at: 2015-02-15, 10:42
Hi, I uninstalled ninja, and compiled again. Now I can start Widelands. I loaded a game I saved before were the problem occurs. I quickly checked, and now te shipcontrols work again. Further testing I have to do later today. Top Quote |
GunChleoc |
Posted at: 2015-02-15, 11:13
Glad the compiling works now. Thanks for testing! Busy indexing nil values Top Quote |
Tibor |
Posted at: 2015-02-15, 20:32
HI, I just pushed new reviesion, I noticed that AI sometimes builds shipyard and ports too soon and exhausts itself, so I postponed building of them a bit. Top Quote |