Can't compile fx on Linux?

Hi, I’m new to MonoGame on Linux, and can’t get an fx file to compile.
Any help?

Error message when I try to compile:

Unfortunately effects can only be compiled from Windows :frowning: It’s the only thing that needs to be done from a WIndows machine.

It’s because we use DirectX tools to compile the fx file and another tool to convert the HLSL bytecode to GLSL. There is some work underway to have native support of GLSL, but this is not yet complete.

There is already an (old) issue #2167 opened for this.

Workaround :slight_smile:

http://www.infinitespace-studios.co.uk/general/monogame-building-fx-shaders-on-a-mac-and-linux/

Still requires a Windows machine on a network tho… :frowning: