I've been trying to create an SFML project for quite a while now, but it isn't working no matter what i do.
Here is the build log after running the program:
-------------- Build: Debug in sfml_test (compiler: GNU GCC Compiler)---------------
mingw32-g++.exe -L..\..\..\..\..\SFML\SFML-2.5.1\lib -o bin\Debug\sfml_test.exe obj\Debug\main.o -lsfml-graphics-s-d -lsfml-window-s-d -lsfml-system-s-d -lopengl32 -lfreetype -lwinmm -lgdi32 -mwindows
..\..\..\..\..\SFML\SFML-2.5.1\lib/libsfml-system-s-d.a(Err.cpp.obj): In function `sync':
D:/Programming/C++/Releases/_Sources/SFML/src/SFML/System/Err.cpp:87: undefined reference to `_imp____acrt_iob_func'
collect2.exe: error: ld returned 1 exit status
Process terminated with status 1 (0 minute(s), 0 second(s))
2 error(s), 0 warning(s) (0 minute(s), 0 second(s))
I use SFML version 2.5.1 and Windows 10 operating system
Here are the program's settings:Global > Search Directories > Compiler:
..\..\..\..\..\SFML\SFML-2.5.1\include
Global > Search Directories > Linker:
..\..\..\..\..\SFML\SFML-2.5.1\lib
Global >Compiler settings > #defines:
SFML_STATIC
Debug > Linker settings > Link libraries:
sfml-graphics-s-d
sfml-window-s-d
sfml-system-s-d
opengl32
freetype
winmm
gdi32
Release > Linker settings > Link libraries:
sfml-graphics-s
sfml-window-s
sfml-system-s
opengl32
freetype
winmm
gdi32
Any ideas what might be wrong here?