Currently the method in install2.sh, which is in fact doing a portable installation of the system by extracting all relevant files is not working. I didn't test install.sh, yet, but I expect even more problems with this method, as the installer is always a bit instable.
The effects:
wineuser@14ff3e064512:/$ codesys ide
Could not load wine-gecko. HTML rendering will be disabled.
wine: configuration in '/home/wineuser/.wine.cds' has been updated.
winevdm: Cannot start DOS application C:\CODESYS\CODESYS\Common\CODESYS.exe
because the DOS memory range is unavailable.
You should install DOSBox.
winevdm: Cannot start DOS application C:\CODESYS\CODESYS\Common\CODESYS.exe
because the DOS memory range is unavailable.
You should install DOSBox.
wineuser@14ff3e064512:/$ codesys export-documentation
So in fact I don't get any output on the commandline, and the commands return immediately. I guess, that this needs more investigation outside of the containers.
Another test showed that the IDE worked natively on buster. Seems that we only have problems with the docker images.
Works again! Was just a DotNet issue. winetricks was not able to install DotNet completely headless anymore. So we now have the workaround with xvfb in install2.sh, like we had for install.sh.
Hi everyone,
I’ve successfully got CODESYS 64 3.5.21.30 (SP21 Patch 3) running on Linux!
I’ve compiled and gone online with a very large, highly complex project containing hundreds of thousands of lines of code, with an architecture that makes extremely heavy use of polymorphism. Compilation succeeded, and I was able to connect to the PLC and work online.
The Wine version used is Wine 11.20, built from development commit:
66caeb46aea4aa8fe6f87b7a209e7867651c09dd
This is a new WoW64 build supporting both 32-bit and 64-bit Windows applications, with two local patches:
The environment also uses native .NET Framework 4.8 and Windows Desktop Runtime 8.0.33 x86 for CODESYS Installer.
I’m attaching both patches with the exact Wine base commit, plus a screenshot showing CODESYS running on my Linux desktop. Project and device names have been blurred.
These are locally tested patches; the NTDLL change is still experimental, and not every CODESYS feature has been validated.
To patch wine: