SFML community forums

Help => General => Topic started by: ohgodmanyo on January 15, 2022, 10:26:40 pm

Title: Need help with crosscompiling from linux to windows via mingw
Post by: ohgodmanyo on January 15, 2022, 10:26:40 pm
I get this issue when trying to compile my project via mingw.

https://pastebin.com/raw/YPzk50BZ

The dlls are GCC 7.3.0 MinGW (DW2) - 32-bit, and I do currently have them in my build directory. I am currently on arch linux and I have installed sfml from: https://aur.archlinux.org/packages/mingw-w64-sfml/
Title: Re: Need help with crosscompiling from linux to windows via mingw
Post by: eXpl0it3r on March 08, 2022, 02:17:30 pm
You'll make your life a lot easier, if you grab a copy of Windows and run it in a VM or similar.
Cross-compilation to Windows sounds great on paper, but it requires quite some fiddling and configuration to get it somewhat to work and even then, you don't really that it will actually run on Windows, since you don't have a native install to test it on.

Anyways, the provided error messages tell you exactly what's missing, it's looking for a certain set of DLLs and you didn't provide those (they need to be put next to the executable)