Problems with dependencies for The Witcher 2 - Ubuntu 16.10 x64

I have problems with launching or editing the settings of The Witcher 2: Assassins Of Kings Enhanced Edition. Every time I try to launch it, it just pops up a window with dependencies problems:

xwindow - dependencies problems screenshot

Can anybody tell me how to fix it?


Solution 1:

Try the following command in Terminal (you can use Ctrl + Alt + T to open the Terminal and then Ctrl + Shift + V to paste in the Terminal):

sudo apt install libc6:i386 libasound2:i386 libasound2-data:i386 libasound2-plugins:i386 libgtk2.0-0:i386 libsdl2-2.0-0:i386 libsdl2-image-2.0-0:i386 libfreetype6:i386 libcurl3:i386

Make sure it doesn't try to remove any crucial packages like your window manager. It might list some packages under 'The following packages will be removed:' before it says 'Do you want to continue? [Y/n]'.

Source (search (Ctrl + F) for dependencies)
Source that said you might need to install dependencies