Hi, I’ve just tried getting set up for development on mac os, and am having trouble with shader compilation. I’m wondering if anyone else is having the same trouble.
MacBook Pro, Apple M1, macOS Ventura 13.2.1
I’ve narrowed it down to the following
and I get the following error, at the end of stream of debug warnings etc.
Perhaps I have made some sort of schoolboy error. I am not an expert in mac, wine or .NET. Happy to supply additional context.
Turns out this was the same issue as MGFXC 8.3.1 / Wine
The script linked from the setup instructions installs the 32-bit .NET SDK into the monogame wine prefix.
This is fixed in develop but the instructions link to master.
I suppose this will go away eventually.
N.b. shader compilation via the content builder does not work when started from Visual Studio because the wine prefix environment variable is not set – the official instructions add it to .profile. It only works when started from the command line, where it will inherit the right environment.