Skip to content

Fix ci - #2

Merged
quink-black merged 2 commits into
masterfrom
fix-ci
Mar 4, 2026
Merged

Fix ci#2
quink-black merged 2 commits into
masterfrom
fix-ci

Conversation

@quink-black

Copy link
Copy Markdown
Owner

No description provided.

Two changes to fix the Windows GUI build:

1. gui_main.cpp: Add #include <SDL.h> so that SDL's main -> SDL_main
   macro substitution takes effect. Without this, SDL2main's WinMain
   entry cannot find SDL_main.

2. CMakeLists.txt:
   - Mark avsync_gui as WIN32 executable (use Windows subsystem,
     no console window on launch).
   - Link SDL2::SDL2main on Windows when available, which provides
     the WinMain -> SDL_main bridge.
@quink-black
quink-black merged commit fab8114 into master Mar 4, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant