CODESYS V3.5

Questions about Wine on Linux
Post Reply
skv
Newbie
Newbie
Posts: 1
Joined: Thu May 18, 2017 1:47 am

CODESYS V3.5

Post by skv » Thu May 18, 2017 8:16 am

Hi,

I'm trying to run CODESYS V3.5, development system for programmable logic controllers (PLC). During installation I've got some errors, but installer finishes without an error and CODESYS seems to be installed.
CODESYS is a dotnet application, therefore I've tried dotnet 4.0 and mono.

I've already tried wine 2.0 (with dotnet4.0 using winetricks or with mono 4.7) and wine 2.8 (with dotnet4.0 using winetricks or with mono 4.7)

1) wine 2.0 with dotnet4.0

Code: Select all

export WINEARCH=win32 WINEPREFIX=/mnt/data/tmp/wine/cds3_2.0_dotnet WINE=wine-development; $WINE $WINEPREFIX/drive_c/Program\ Files/3S\ CODESYS/CODESYS/Common/CODESYS.exe
err:ole:CoGetContextToken apartment not initialised

Unhandled Exception: System.IO.FileLoadException: 

.  Unable to load 'Core, Version=3.5.5.1, Culture=neutral, PublicKeyToken=null'.
   at _3S.CoDeSys.Main.CoDeSys.RunUI(CommandLine cmdLine)
   at _3S.CoDeSys.Main.CoDeSys.Run()
   at _3S.CoDeSys.Main.CoDeSys.Main(String[] args)
2) wine 2.0 with mono 4.7

Code: Select all

export WINEARCH=win32 WINEPREFIX=/mnt/data/tmp/wine/cds3_2.0_mono WINE=wine-development; $WINE $WINEPREFIX/drive_c/Program\ Files/3S\ CODESYS/CODESYS/Common/CODESYS.exe 

exception inside UnhandledException handler: The type initializer for '_3S.CoDeSys.Core.Components.ComponentManager' threw an exception.

[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for '_3S.CoDeSys.Core.Components.ComponentManager' threw an exception. ---> System.InvalidProgramException: Invalid IL code in _3S.CoDeSys.Core.Components.ComponentManager:.cctor (): IL_001e: stsfld    0x040000a7


   --- End of inner exception stack trace ---
  at _3S.CoDeSys.Main.CoDeSys.OnUnhandledException (System.Object sender, System.UnhandledExceptionEventArgs e) [0x00000] in <6c492aec286142d5bc32e1469632f613>:0

3) with wine 2.8 (with dotnet40) error is the same as with wine 2.0.

4) with wine 2.8 (with mono 4.7) installer doesn't finish.

Code: Select all

err:ole:dispatch_rpc no apartment found for ipid {ffffffff-ffff-ffff-9d00-000008000000}
err:rpc:I_RpcReceive we got fault packet with status 0x80010108
err:ole:dispatch_rpc no apartment found for ipid {ffffffff-ffff-ffff-9d00-000008000000}
err:rpc:I_RpcReceive we got fault packet with status 0x80010108
err:ole:dispatch_rpc no apartment found for ipid {ffffffff-ffff-ffff-9d00-000008000000}
err:rpc:I_RpcReceive we got fault packet with status 0x80010108
err:ole:dispatch_rpc no apartment found for ipid {ffffffff-ffff-ffff-9d00-000008000000}
err:rpc:I_RpcReceive we got fault packet with status 0x80010108
err:ole:dispatch_rpc no apartment found for ipid {ffffffff-ffff-ffff-9d00-000008000000}
err:rpc:I_RpcReceive we got fault packet with status 0x80010108
I'd appreciate any help.

Post Reply