SFML community forums
Help => Graphics => Topic started by: kinglime on February 05, 2015, 04:35:41 am
-
I keep trying to build SFML 2.2 from source and all the modules build except for graphics. I am running Windows 10 / VS2015. I tried building with nmake and from VS itself. I keep getting the following error:
freetype.lib(bdf.obj) : error LNK2019: unresolved external symbol _sprintf referenced in function __bdf_parse_properties
jpeg.lib(jerror.obj) : error LNK2001: unresolved external symbol _sprintf
jpeg.lib(jerror.obj) : error LNK2019: unresolved external symbol _fprintf referenced in function _output_message
jpeg.lib(jerror.obj) : error LNK2019: unresolved external symbol ___iob_func referenced in function _output_message
jpeg.lib(jmemmgr.obj) : error LNK2019: unresolved external symbol _sscanf referenced in function _jinit_memory_mgr
C:\Users\Robert\Desktop\build\lib\Debug\sfml-graphics-d-2.dll : fatal error LNK1120: 4 unresolved externals
Also I am trying to build the dynamic libraries, not static.
-
Visual Studio 2015 is not officially supported yet due to it still being in preview, and I'm going to assume Windows 10 is in the same boat.
As for the problem, I'm not sure its the fault of SFML, since the errors are occuring in jpeg.lib and freetype.lib by the look of the errors.
-
You'll most likely have to rebuild some of SFML's dependencies.
-
You'll most likely have to rebuild some of SFML's dependencies.
Thank you. I ended up rebuilding jpeg and freetype. I have posted my binaries here (http://en.sfml-dev.org/forums/index.php?topic=17455.0). Cheers! :)