CMake MinGW compilation issues
envgap__melonDS-emu__melonDS-307
01 / FAILURE SIGNATURE
As reported upstream
- (Re)add `src/libui_sdl/libui/windows/entry.cpp`, otherwise build would fail with undefined references
Not a benchmark task.
- In a clean container the reported failure did not reproduce, or the known fix did not make the project run.
02 / ENVIRONMENT RECIPE
- Base commit
16d5041da87f85022de3f9f44693c2b4ea54234e- Manifest
src/libui_sdl/CMakeLists.txt- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
melonDS-emu/melonDS #307 · read the original issue
Had to make some changes to CMakeLists.txt in order to be able to compile with MinGW (MSYS):
- (Re)add `src/libui_sdl/libui/windows/entry.cpp`, otherwise build would fail with undefined references
- add `LINK_LIBRARIES("uxtheme")`, otherwise build would fail with an undefined reference to `SetWindowTheme`
- add include directory for libpcap files (not sure whats the recommended way to add this, I used an environment variable for the include path and define it before executing cmake because I don't have libpcap installed as a system package)
Besides these changes in the CMakeLists.txt I also had to add `#define HAVE_REMOTE` before `#include <pcap/pcap.h>` in `src/libui_sdl/Platform.cpp`, or some error would show up during compilation.04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]