HF RL Explorer

Windows application linking fails with undefined reference to WinMain@16

Windows application linking fails with undefined reference to WinMain@16: a task in LegoFlow-SWE (Harbor dataset). When building a Windows GUI application (i.e., with the GUI subsystem) that links against SDL2 via sdl2-compat, the linker fails because the WinMain entry point is missing. This…

The task

When building a Windows GUI application (i.e., with the GUI subsystem) that links against SDL2 via sdl2-compat, the linker fails because the `WinMain` entry point is missing. This happens because sdl2-compat currently does not provide a proper **SDL2main** library for Windows, which is required to supply the…

Part of Lego-X/LegoFlow-SWE.