Closed
Description
This wasn't happening before. See:
https://github.com/libsdl-org/SDL/actions/runs/15802295971/job/44542260352
LINK Pass 1: command "C:\PROGRA~1\MICROS~2\2022\ENTERP~1\VC\Tools\MSVC\1444~1.352\bin\Hostx64\arm64\link.exe /nologo @CMakeFiles\SDL2.rsp /out:SDL2.dll /implib:SDL2.lib /pdb:SDL2.pdb /dll /version:2.33 -DEBUG /debug /INCREMENTAL /NODEFAULTLIB /MANIFEST /MANIFESTFILE:CMakeFiles\SDL2.dir/intermediate.manifest CMakeFiles\SDL2.dir/manifest.res" failed (exit code 1120) with the following output:
Creating library SDL2.lib and object SDL2.exp
SDL_atomic.c.obj : error LNK2019: unresolved external symbol _InterlockedCompareExchange referenced in function SDL_AtomicCAS_REAL
SDL_malloc.c.obj : error LNK2001: unresolved external symbol _InterlockedCompareExchange
SDL_syssem.c.obj : error LNK2001: unresolved external symbol _InterlockedCompareExchange
SDL_atomic.c.obj : error LNK2019: unresolved external symbol _InterlockedCompareExchangePointer referenced in function SDL_AtomicCASPtr_REAL
SDL_atomic.c.obj : error LNK2019: unresolved external symbol _InterlockedExchange referenced in function SDL_AtomicSet_REAL
SDL_malloc.c.obj : error LNK2001: unresolved external symbol _InterlockedExchange
SDL_atomic.c.obj : error LNK2019: unresolved external symbol _InterlockedExchangeAdd referenced in function SDL_AtomicAdd_REAL
SDL_atomic.c.obj : error LNK2019: unresolved external symbol _InterlockedExchangePointer referenced in function SDL_AtomicSetPtr_REAL
SDL_atomic.c.obj : error LNK2019: unresolved external symbol _InterlockedOr referenced in function SDL_AtomicGet_REAL
SDL_spinlock.c.obj : error LNK2019: unresolved external symbol _InterlockedExchange_acq referenced in function SDL_AtomicTryLock_REAL
SDL_spinlock.c.obj : error LNK2019: unresolved external symbol _InterlockedExchange_rel referenced in function SDL_AtomicUnlock_REAL
SDL_syssem.c.obj : error LNK2019: unresolved external symbol _InterlockedDecrement referenced in function SDL_SemWaitTimeout_kern
SDL_syssem.c.obj : error LNK2019: unresolved external symbol _InterlockedIncrement referenced in function SDL_SemPost_atom
SDL2.dll : fatal error LNK1120: 10 unresolved externals
Metadata
Metadata
Assignees
Labels
No labels