mstorsjo/msvc-wine

wine64 is needed instead of wine for x64 toolchain on Ubuntu 20.04

dmikushin opened this issue · 2 comments

Hi @mstorsjo ,

On Ubuntu 20.04 wine is no longer able to execute 64-bit Windows apps. In order to get it to work, I needed to call wine64 instead of wine explicitly. The change to the script could be like this:

Small fix to the Martin's original scripts: wine64 should be used for x64.
RUN sed -i "s/wine /win64 /" /opt/msvc/bin/x64/wine-msvc.sh

Thanks!you are so great。(c)

On Ubuntu 20.04 wine is no longer able to execute 64-bit Windows apps.

That depends on how you install it. See

msvc-wine/Dockerfile

Lines 1 to 12 in 12f63ec

FROM ubuntu:20.04
# Ubuntu 20.04 (currently?) requires a separate apt-get upgrade first before
# installing libc6:i386, otherwise that package fails to install.
RUN apt-get update && \
apt-get upgrade -y && \
dpkg --add-architecture i386 && \
apt-get update && \
apt-get install -y wine-development python msitools python-simplejson \
python-six ca-certificates && \
apt-get clean -y && \
rm -rf /var/lib/apt/lists/*
- that includes the step for enabling i386 and installing the full wine with all the tools that it expects.

However you're right that we could do with just using the wine64 frontend and simplifying the install - I pushed a commit that does that: d7beff3

Looks like this is fixed and can be closed.