I tried to build SDL2 from sources on Windows 8.1 using command line as follows:
Microsoft Visual Studio 2013 (free version)
Cmake (binary version)
Used Cmake GUI to set options: DirectX selected.
cmake --build .
I get following error:
LINK : fatal error LNK1104: cannot open file ‘dxerr.lib’
Btw, dxerr.lib is now deprecated and removed from Windows SDK 8.1, therefore, no such file in my system.
Following shows FormatMessage must be used instead of dxerr:
Is there a compiler switch (-Dxxx) to use FormatMessage instead of dxerr on Windows 8.1?
Is there a patch for SDL2 to use FormatMessage instead of dxerr on Windows 8.1?