-
Notifications
You must be signed in to change notification settings - Fork 526
Closed
Description
Describe the bug
mingw-w64 fails to compile sm64ex when make is ran using the tools mingw-w64 provides for Ubuntu Linux to cross-compile the game for Windows.
To Reproduce
Steps to reproduce the behavior:
- Use
make WINDOWS_BUILD=1 CROSS=x86_64-w64-mingw32- CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ SDLCONFIG=sdl2-config TEXTURE_FIX=1 NODRAWINGDISTANCE=1 DISCORDRPC=1to attempt a compile using mingw-w64 - Game compiles until the final exe link
- We hit the linker errors described below.
Expected behavior
Game compiles successfully
Desktop (please complete the following information):
- OS: [e.g. iOS] Windows 10 Pro Education + WSL2 (Ubuntu 20.04.2 LTS)
Additional context
Trying to add more options for us folks to compile the PC port easily so I looked further into mingw-w64 cross-compilation and this is as far as I've been able to go with it. I previously have been able to achieve this type of cross-compilation using MXE, both prepackaged and from source, so it's not like it's my first rodeo with this or anything.
Metadata
Metadata
Assignees
Labels
No labels

