libsdl-org / sdl12-compat

An SDL-1.2 compatibility layer that uses SDL 2.0 behind the scenes.
Other
196 stars 40 forks source link

MSVC ARM32 builds fail linkage #308

Closed sezero closed 1 year ago

sezero commented 1 year ago

Because we link with /NODEFAULTLIB :

SDL12_compat.obj : error LNK2019: unresolved external symbol __dtou64 referenced in function StartCDAudioPlaying
SDL12_compat.obj : error LNK2019: unresolved external symbol __u64tod referenced in function SDL_CDOpen
SDL12_compat.obj : error LNK2019: unresolved external symbol __rt_sdiv referenced in function SDL12COMPAT_itoa
SDL12_compat.obj : error LNK2019: unresolved external symbol __rt_udiv referenced in function RoundTimerTo12Resolution
SDL12_compat.obj : error LNK2019: unresolved external symbol __rt_udiv64 referenced in function drmp3_calculate_seek_points
SDL12_compat.obj : error LNK2019: unresolved external symbol memcpy referenced in function AddVidModeToList
sezero commented 1 year ago

Unless we add our own asm for the compiler runtime, building for arm32 with nodefaultlib shall fail. Closing this one.