1
General discussions / Re: SFML 2.3 released!
« on: May 13, 2015, 09:35:33 pm »
Hi!
Great work indeed. I picked up SFML again after a few years, and was glad to find that the project really took off.
I am developing an OpenCL-OpenGL interop application, and sadly I need the C++11 alignof/alignas operators that are only available in VS2015. Simply linking to the VS2013 binaries of SFML fails miserably. I either have OpenGL window, or properly aligned structs. However, building the libs comes with great pain and cascade of yak shaving.
The audio and graphics libs fail with the following errors:
1>------ Build started: Project: sfml-audio, Configuration: Release x64 ------
2>------ Build started: Project: sfml-graphics, Configuration: Release x64 ------
1> Creating library C:/Users/nagy-_000/Build/SFML/VS14/lib/Release/sfml-audio.lib and object C:/Users/nagy-_000/Build/SFML/VS14/lib/Release/sfml-audio.exp
2> Creating library C:/Users/nagy-_000/Build/SFML/VS14/lib/Release/sfml-graphics.lib and object C:/Users/nagy-_000/Build/SFML/VS14/lib/Release/sfml-graphics.exp
1>flac.lib(stream_decoder.obj) : error LNK2019: unresolved external symbol __iob_func referenced in function FLAC__stream_decoder_reset
1>flac.lib(stream_encoder.obj) : error LNK2001: unresolved external symbol __iob_func
1>flac.lib(win_utf8_io.obj) : error LNK2001: unresolved external symbol __iob_func
1>flac.lib(bitreader.obj) : error LNK2019: unresolved external symbol fprintf referenced in function FLAC__bitreader_dump
1>flac.lib(bitwriter.obj) : error LNK2001: unresolved external symbol fprintf
1>flac.lib(win_utf8_io.obj) : error LNK2019: unresolved external symbol vsnprintf_s referenced in function local_vsnprintf
1>MSVCRT.lib(vsnprintf_s.obj) : error LNK2001: unresolved external symbol vsnprintf_s
1>MSVCRT.lib(vsnprintf_s.obj) : error LNK2001: unresolved external symbol _vsnprintf_s
1>C:\Users\nagy-_000\Build\SFML\VS14\lib\Release\sfml-audio-2.dll : fatal error LNK1120: 4 unresolved externals
2>freetype.lib(bdf.obj) : error LNK2019: unresolved external symbol sprintf referenced in function _bdf_parse_properties
2>jpeg.lib(jerror.obj) : error LNK2001: unresolved external symbol sprintf
2>jpeg.lib(jerror.obj) : error LNK2019: unresolved external symbol __iob_func referenced in function output_message
2>jpeg.lib(jmemmgr.obj) : error LNK2019: unresolved external symbol sscanf referenced in function jinit_memory_mgr
2>C:\Users\nagy-_000\Build\SFML\VS14\lib\Release\sfml-graphics-2.dll : fatal error LNK1120: 3 unresolved externals
3>------ Skipped Build: Project: INSTALL, Configuration: Release x64 ------
3>Project not selected to build for this solution configuration
========== Build: 0 succeeded, 2 failed, 6 up-to-date, 1 skipped ==========
I started to build libFLAC statically, which in turn depends on ogg... and all the solution files they provide are not so friendly... and I haven't even reached libJPEG.
Could someone with Solution files all setup for SFML building with all it's extern deps be an amazing fellow and compile them with VS2015 RC? It is RC afterall. Any other suggestions what I might do?
Great work indeed. I picked up SFML again after a few years, and was glad to find that the project really took off.
I am developing an OpenCL-OpenGL interop application, and sadly I need the C++11 alignof/alignas operators that are only available in VS2015. Simply linking to the VS2013 binaries of SFML fails miserably. I either have OpenGL window, or properly aligned structs. However, building the libs comes with great pain and cascade of yak shaving.
The audio and graphics libs fail with the following errors:
1>------ Build started: Project: sfml-audio, Configuration: Release x64 ------
2>------ Build started: Project: sfml-graphics, Configuration: Release x64 ------
1> Creating library C:/Users/nagy-_000/Build/SFML/VS14/lib/Release/sfml-audio.lib and object C:/Users/nagy-_000/Build/SFML/VS14/lib/Release/sfml-audio.exp
2> Creating library C:/Users/nagy-_000/Build/SFML/VS14/lib/Release/sfml-graphics.lib and object C:/Users/nagy-_000/Build/SFML/VS14/lib/Release/sfml-graphics.exp
1>flac.lib(stream_decoder.obj) : error LNK2019: unresolved external symbol __iob_func referenced in function FLAC__stream_decoder_reset
1>flac.lib(stream_encoder.obj) : error LNK2001: unresolved external symbol __iob_func
1>flac.lib(win_utf8_io.obj) : error LNK2001: unresolved external symbol __iob_func
1>flac.lib(bitreader.obj) : error LNK2019: unresolved external symbol fprintf referenced in function FLAC__bitreader_dump
1>flac.lib(bitwriter.obj) : error LNK2001: unresolved external symbol fprintf
1>flac.lib(win_utf8_io.obj) : error LNK2019: unresolved external symbol vsnprintf_s referenced in function local_vsnprintf
1>MSVCRT.lib(vsnprintf_s.obj) : error LNK2001: unresolved external symbol vsnprintf_s
1>MSVCRT.lib(vsnprintf_s.obj) : error LNK2001: unresolved external symbol _vsnprintf_s
1>C:\Users\nagy-_000\Build\SFML\VS14\lib\Release\sfml-audio-2.dll : fatal error LNK1120: 4 unresolved externals
2>freetype.lib(bdf.obj) : error LNK2019: unresolved external symbol sprintf referenced in function _bdf_parse_properties
2>jpeg.lib(jerror.obj) : error LNK2001: unresolved external symbol sprintf
2>jpeg.lib(jerror.obj) : error LNK2019: unresolved external symbol __iob_func referenced in function output_message
2>jpeg.lib(jmemmgr.obj) : error LNK2019: unresolved external symbol sscanf referenced in function jinit_memory_mgr
2>C:\Users\nagy-_000\Build\SFML\VS14\lib\Release\sfml-graphics-2.dll : fatal error LNK1120: 3 unresolved externals
3>------ Skipped Build: Project: INSTALL, Configuration: Release x64 ------
3>Project not selected to build for this solution configuration
========== Build: 0 succeeded, 2 failed, 6 up-to-date, 1 skipped ==========
I started to build libFLAC statically, which in turn depends on ogg... and all the solution files they provide are not so friendly... and I haven't even reached libJPEG.
Could someone with Solution files all setup for SFML building with all it's extern deps be an amazing fellow and compile them with VS2015 RC? It is RC afterall. Any other suggestions what I might do?