CAMM-Crystal-Alien-Map-Maker icon indicating copy to clipboard operation
CAMM-Crystal-Alien-Map-Maker copied to clipboard

Cannot run on Mac: Mono does not support System.Windows.Forms in 64-bit

Open CreativeMasterBonin opened this issue 6 years ago • 2 comments

Got these errors a lot. A Long Log full of this error many times over: Here is a shorter version of the log:

64-Bit Mode Errors: "The Carbon driver has not been ported to 64bits, and very few parts of Windows.Forms will work properly, or at all"

"System.InvalidOperationException: WinForms_SeeInnerException ---> System.NotSupportedException: Specified method is not supported [ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidOperationException: WinForms_SeeInnerException ---> System.NotSupportedException: Specified method is not supported"

Startup never happened. When running the 32-bit architecture mono mode, no errors ever display but CAMM does not start, and just uses ~96% of my CPU power until I force quit Mono.

So neither 64-Bit mode or 32-Bit mode CAMM work on Macs. Not good. Anything that would fix this? Or is this just on my end?

BTW: I am on MacOS High Sierra 10.13.6, and tried using Mono 5.18.1 (V.S.) and 5.20.1 (Stable) with CAMM, with no success.

Here is the code making this bug happen as well: Screen Shot 2019-04-27 at 6 59 29 PM Screen Shot 2019-04-27 at 6 59 42 PM

CreativeMasterBonin avatar Apr 27 '19 17:04 CreativeMasterBonin

why was this closed?

Moth-Tolias avatar Jun 10 '19 01:06 Moth-Tolias

I've done some in-depth research and experiments on Mac OS a little while ago, and discovered that Apple recently removed support for all 32-bit applications from their OS.

This leaves only the option to use 64-bit, and as the error above alludes to; and as I discovered from further research, there is no support for a 64-bit version of System.Windows.Forms (or rather System.Drawing that it depends on) for Mono/.NET Framework applications on Mac.

This basically means CAMM will not be able to officially run on Macs. At least not right now and possibly not for a long time.

There was however a third party project I came across that was said to (partially) implement System.Drawing (to enable System.Windows.Forms) for 64-bit Mono on Mac OS. This may be something that I'll look into for the future, assuming that Mono does not add the 64-bit support any time soon.

leveleditor avatar May 05 '20 00:05 leveleditor