Latest Posts



This article is marked as outdated. If you are familiar with this topic, please consider updating and improving this page. In case of any questions, please ask in the forum! For pointers see WikiHelp in our wiki. After finishing your work remove the 'outdated' tag.

Building Widelands on Windows-10

As of some, mhh, issue I lost access to my OSX computer and had to fall back to some cheap WIN-10 machine. But of course I wanted to develop Wideands there, too. So I started by installing the Bash on ubunto on Windows for Windows-10. This is not only a bash but a complete (?) Ubuntu like subsytem. I started installing bzr which worked like on Ubutu and is described in the Bzrprimer, that was easy.

using ./ I checked the missing pieces and got:

sudo apt-get install  bzr cmake g++ gcc gettext libboost-dbg libboost-regex-dev libboost-test-dev libglew-dev libpng-dev libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev python zlib1g-dev ninja-build 

which is actually the same as described for Ubuntu in Building Widelands-

after that ./ worked with ninja and did its job like a charm. (That Mac MBoo has 8 virtual cores, this machine just 4, well)

after compilig when calling ./widelands I got:

what():  [../src/] Failed to initialize SDL, no valid video driver: Failed to connect to the Mir Server

Whats is missing is some kind of Display Driver so I went along this Artilce How To Run graphical.... which starts with a VcXsrv Windows X Server.

 export DISPLAY=localhost:0

I can start widelands, but get an ugly default X-Window pointer and can not type any text (no one cares for the focus?). So I went ahaead and installed xfwm4, this allowed me to start widelands and enter some text. Installing the complete unity desktop took quite some time and compiz worked in the end, but gave me no real improvement (for widelands) compared to xfwm4. But there is no sound.

The solution would be a pulseoudio server running on the windows side, But I found no article how this migth work on Windows 10.

OK I will stop here and try the "normal" windows way again.

Tagged with: outdated