Skip to content

Create mgfx0001.md #135

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

Merged
merged 4 commits into from
Jun 4, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions errors/mgfx0001/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
title: MonoGame error MGFX0001
description: MGFX0001 error code
---

## Example messages

```
Error: MGFXC0001: MGFXC effect compiler requires a valid Wine installation to be able to compile shaders. Please visit https://docs.monogame.net/errors/mgfx0001?tab=macos for more details.
```

```
Error: MGFXC0001: MGFXC effect compiler requires a valid Wine installation to be able to compile shaders. Please visit https://docs.monogame.net/errors/mgfx0001?tab=linux for more details.
```

## Issue

This error indicates that `Wine` is not installed on the development machine. `Wine` is currently required in order to compile `Effects` on both Linux and MacOS.

## Solution

You need to make sure you have installed `Wine` on your machine.
Please look at the following [link](https://docs.monogame.net/articles/tutorials/building_2d_games/02_getting_started/?tabs=macos#setup-wine-for-effect-compilation-macos-and-linux-only) for detailed instructions on how to install `Wine` and configure it for use with MonoGame.