Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test winebottler to run cmdr in a macOS #1

Open
pestrela opened this issue May 27, 2020 · 7 comments
Open

test winebottler to run cmdr in a macOS #1

pestrela opened this issue May 27, 2020 · 7 comments

Comments

@pestrela
Copy link
Collaborator

pestrela commented May 27, 2020

I don't have a mac but would love to test this option. I used wine in linux many moons ago to run ultraedit in linux.

https://winebottler.kronenberg.org/
"WineBottler runs your Windows-based programs directly on your Mac.
This is possible thanks to a Windows-compatible subsystem, which is provided by the great OpenSource tool Wine."

https://forum.winehq.org/viewtopic.php?t=33084
"Check wine 5.7 it now includes WPF with mono."

https://wiki.winehq.org/Winetricks
"Winetricks is a helper script to download and install various redistributable runtime libraries needed to run some programs in Wine."

other options:
https://github.com/cmdr-editor/cmdr/blob/master/docs/running_on_macos.md

@pestrela
Copy link
Collaborator Author

@ErikMinekus could you have a quick go at this to see if this option has any future?

@pestrela
Copy link
Collaborator Author

pestrela commented Jun 17, 2020

I think the failure of the process in wine has to do with the .Net requirement. 
What version of Windows is the program built for? Winebottler gives you some 
options to compile so I tried Windows XP. As for .Net, your docs say that 4.5 is 
required. Winebottler gives you options of 4.5, 4.5.2, etc up to 4.8.smething. 
I'm trying again now with 4.7.2 of .Net and Windows 7.

Thanks for testing this.

I'm targeting 4.5. This is installable in Vista and upwards.
https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/versions-and-dependencies?redirectedfrom=MSDN

In visual studio 2017 I can easily upgrade to up to 4.6.1.
https://docs.microsoft.com/en-us/dotnet/framework/whats-new/

I can try to downgrade to 3.5 (strong dependency on LINQ and WPF).
image

@pestrela
Copy link
Collaborator Author

about wine mono: this was only upgraded recently for linux.
The mac version is laging behind but it will get there.

Winebottler uses v0.0.8 of winemono:
https://winebottler.kronenberg.org/specifications

winemono v0.0.8 was released in 2014:
https://dl.winehq.org/wine/wine-mono/

the one we need is winemono v5.0:
https://www.winehq.org/news/2020042401

which was released in april 2020:
https://dl.winehq.org/wine/wine-mono/


On top of all this, winetricks may be required:
https://wiki.winehq.org/Winetricks

@pestrela
Copy link
Collaborator Author

tried to compile to .net framework 3.5
lots of errors, some examples:

@pestrela
Copy link
Collaborator Author

Apple will make patches to mono
This will help a lot
https://twitter.com/migueldeicaza/status/1275177067626278913?s=21

@phonique
Copy link

Just a quick report that cmdr works fine in Crossover 17.5 (the old version that I have installed with Wine 2.8 as the backend). There is some flickering, when using controls, but is long as the pointer is over an active control (e.g. a button, or inside a textfield), all is good, so it's easily worked around.
I suspect, current versions will run better.
All I did was to install all the .net redistributables in a Win10 bottle (probably just 4.5 necessary, as per @pestrela's comment above), but I'm also using the bottle for more than just cmdr.

@pestrela
Copy link
Collaborator Author

Many thanks for the report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants