I'm having issues building with VS2015. I'm using cmake to generate a VS2015 Solution and then building that, which seems to work fine with all of the modules except sfml-graphics. Each time it tries to build sfml-graphics, it fails with the following errors:
1> Creating library C:/Users/Jeff/Desktop/SFML-2.2/build/lib/Debug/sfml-graphics-d.lib and object C:/Users/Jeff/Desktop/SFML-2.2/build/lib/Debug/sfml-graphics-d.exp
1>freetype.lib(bdf.obj) : error LNK2019: unresolved external symbol sprintf referenced in function _bdf_parse_properties
1>jpeg.lib(jerror.obj) : error LNK2001: unresolved external symbol sprintf
1>jpeg.lib(jerror.obj) : error LNK2019: unresolved external symbol fprintf referenced in function output_message
1>jpeg.lib(jerror.obj) : error LNK2019: unresolved external symbol __iob_func referenced in function output_message
1>jpeg.lib(jmemmgr.obj) : error LNK2019: unresolved external symbol sscanf referenced in function jinit_memory_mgr
1>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\lib\amd64\OLDNAMES.lib : warning LNK4272: library machine type 'UNKNOWN' conflicts with target machine type 'x64'
1>C:\Users\Jeff\Desktop\SFML-2.2\build\lib\Debug\sfml-graphics-d-2.dll : fatal error LNK1120: 4 unresolved externals
I've generated and built this with the x86 and x64 library options (and confirmed that cmake was pointing to the proper locations) and the exact same issue occurs for both. It looks like, for whatever reason, the linking to cstdio is failing?
Any help would be appreciated since my VS compiler/linker knowledge is lackluster, at best.