Having problems setting up my SFML project. I noticed that in an old sfml project (2.4.2) I had made I had included "jpeg.lib", however it is not included in this project. I couldn't find it. Could that be the problem?
VC++ 2017 on x64 windows host building for x86 with SFML version 2.5.0
Linker error message:
LNK2019 unresolved external symbol ___std_swap_ranges_trivially_swappable_noalias referenced in function "unsigned char * __cdecl std::_Swap_ranges_unchecked<unsigned char,0>(unsigned char * const,unsigned char * const,unsigned char * const)" (??$_Swap_ranges_unchecked@E$0A@@std@@YAPAEQAE00@Z) [...]\sfml-graphics-s-d.lib(Image.cpp.obj)
My linker dependency list for debug config:
sfml-main-d.lib;
sfml-graphics-s-d.lib;
sfml-window-s-d.lib;
sfml-system-s-d.lib;
opengl32.lib;
winmm.lib;
kernel32.lib;
user32.lib;
gdi32.lib;
winspool.lib;
comdlg32.lib;
advapi32.lib;
shell32.lib;
ole32.lib;
oleaut32.lib;
uuid.lib;
odbc32.lib;
odbccp32.lib;
%(AdditionalDependencies)
I have the SFML_STATIC preprocessor directive set.