Win32 link flags lack -luuid, so executables that run StartSync do not link #184
Labels
No labels
claude:blocked
claude:done
claude:failed
claude:in-progress
claude:ready
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Catcrafts/Crafter.Graphics#184
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
implementations/Crafter.Graphics-GamepadWin32.c:49compares interface IDs againstIID_IUnknownandIID_IAgileObject, which MinGW defines inlibuuid, andproject.cpp's Win32 link flags (:73-81at852ae8a) don't include-luuid.Window::StartSynccallsGamepad::Tick, which pulls the gamepad code in, so a Win32 executable that runs the event loop does not link:Seen linking
TextWin32forx86_64-w64-mingw32.PointerWin32, and any example or application built for that target, needs it as well.Suggested fix
cfg.linkFlags.push_back("-luuid");beside-lruntimeobject. The two other things the Wine runs of those tests needed come from outside this project: an import library forvulkan-1, which the toolchain does not ship, and a definition of__libc_single_threaded, which the MinGW build of Crafter.Asset references (AGENTS.md, "Cross targets").