I'm trying to revive an old project that I once built based on SDL. Want it to update to the latest and greatest SDL2 for windows. How do I solve this?
Output from the build-phase:
Building main.obj.
C:\projects\issconfig\SDL2-2.0.12\include\SDL_atomic.h(123): warning #2195: Unrecognized intrinsic function: '_ReadWriteBarrier'.
Building util.obj.
Building issconfig.exe.
POLINK: error: Unresolved external symbol '_SDL_SetMainReady' - referenced from 'C:\projects\issconfig\output\main.obj'.
POLINK: error: Unresolved external symbol '_SDL_Quit' - referenced from 'C:\projects\issconfig\output\main.obj'.
POLINK: error: Unresolved external symbol '_SDL_Init' - referenced from 'C:\projects\issconfig\output\main.obj'.
POLINK: error: Unresolved external symbol '_SDL_CreateWindow' - referenced from 'C:\projects\issconfig\output\main.obj'.
POLINK: fatal error: 4 unresolved external(s).
*** Error code: 1 ***
Done.
I enabled verbose output on the linker and the lib is actually scanned, so it should've worked. The library itself actually seems to contain these symbols, and polink doesn't complain the library is broken.