mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-14 09:02:06 +00:00
wxWidgets defines _UNICODE globally, which causes Catch2's catch_main.cpp to provide wmain() instead of main(). This leads to LNK2001 "unresolved external symbol main" for all test executables when building with BUILD_TESTS=ON on MSVC. Add DO_NOT_USE_WMAIN compile definition to Catch2WithMain target so that Catch2 provides the standard main() entry point. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>