I have no idea what version of Mono Wine might be using, the version I have for OS X I downloaded and installed today. It says 4.8.0, with a copyright date of 2014. Seems a bit old for something I downloaded today.Greg Strong wrote: Strange that it works under Wine but not directly with Mono (for a .NET program, I believe Wine is also using Mono under the surface.) The piece coloring not working is also strange. See what version of Mono you have installed - the piece coloring is working for me on Linux (there are a couple of tiny graphics glitches but they are minor - still disappointing, though, it's not like I'm doing anything complicated - just really basic bitmap operations.) Anyway, if you update Mono to the latest and greatest, that will probably help, even if you are operating under Wine.
The error I get from it is this:
Code: Select all
$ mono ChessV.exe
Unhandled Exception:
System.TypeInitializationException: The type initializer for 'ChessV.GUI.Program' threw an exception. ---> System.DllNotFoundException: kernel32
at (wrapper managed-to-native) ChessV.SystemEnvironment:LoadLibrary (string)
at ChessV.SystemEnvironment.GetIsWow64ProcessDelegate () [0x00000] in <8fba81e93d3d4b8ca8b107e81c4abfb2>:0
at ChessV.SystemEnvironment.Is32BitProcessOn64BitProcessor () [0x00000] in <8fba81e93d3d4b8ca8b107e81c4abfb2>:0
at ChessV.SystemEnvironment.IsOS64Bit () [0x00010] in <8fba81e93d3d4b8ca8b107e81c4abfb2>:0
at ChessV.EngineLibrary.discoverEnvironment () [0x0000f] in <8fba81e93d3d4b8ca8b107e81c4abfb2>:0
at ChessV.EngineLibrary..ctor () [0x0001c] in <8fba81e93d3d4b8ca8b107e81c4abfb2>:0
at ChessV.GUI.Program..cctor () [0x00000] in <08af1e99efd247c19fa989933de75b60>:0
--- End of inner exception stack trace ---
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'ChessV.GUI.Program' threw an exception. ---> System.DllNotFoundException: kernel32
at (wrapper managed-to-native) ChessV.SystemEnvironment:LoadLibrary (string)
at ChessV.SystemEnvironment.GetIsWow64ProcessDelegate () [0x00000] in <8fba81e93d3d4b8ca8b107e81c4abfb2>:0
at ChessV.SystemEnvironment.Is32BitProcessOn64BitProcessor () [0x00000] in <8fba81e93d3d4b8ca8b107e81c4abfb2>:0
at ChessV.SystemEnvironment.IsOS64Bit () [0x00010] in <8fba81e93d3d4b8ca8b107e81c4abfb2>:0
at ChessV.EngineLibrary.discoverEnvironment () [0x0000f] in <8fba81e93d3d4b8ca8b107e81c4abfb2>:0
at ChessV.EngineLibrary..ctor () [0x0001c] in <8fba81e93d3d4b8ca8b107e81c4abfb2>:0
at ChessV.GUI.Program..cctor () [0x00000] in <08af1e99efd247c19fa989933de75b60>:0
--- End of inner exception stack trace ---
$