||=== Build: Debug in MTG (compiler: GNU GCC Compiler) ===|
C:\SFML-2.2\lib\libsfml-system-s-d.a(SleepImpl.cpp.obj)||In function `ZN2sf4priv9sleepImplENS_4TimeE':|
D:\sfml-release\_Sources\SFML\src\SFML\System\Win32\SleepImpl.cpp|41| undefined reference to `_imp__timeGetDevCaps@8'|
D:\sfml-release\_Sources\SFML\src\SFML\System\Win32\SleepImpl.cpp|44| undefined reference to `_imp__timeBeginPeriod@4'|
D:\sfml-release\_Sources\SFML\src\SFML\System\Win32\SleepImpl.cpp|50| undefined reference to `_imp__timeEndPeriod@4'|
C:\SFML-2.2\lib\libglew.a(glew.c.o):glew.c || undefined reference to `wglGetCurrentDC@0'|
C:\SFML-2.2\lib\libglew.a(glew.c.o):glew.c || undefined reference to `wglGetCurrentDC@0'|
||=== Build failed: 5 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|
Maybe it's just me (on my phone right now), but the image of the error message is too small and blurred for me to read anything...Yeah that's a phone issue...
Read the official SFML 2.2 tutorial and I mean read it. Because the static linking has changed for SFML 2.2 and you now need to link against SFML's dependencies as well.Maybe it's just me (on my phone right now), but the image of the error message is too small and blurred for me to read anything...Yeah that's a phone issue...
To me it looks like he declared the libs in a wrong order.
Look at the tutorial, the way it's listed there is an order that works.
It usually is if x depends on y then x comes before y.
||=== Build: Debug in MTG (compiler: GNU GCC Compiler) ===|
) || undefined reference to `wglGetCurrentDC@0'|
C:\SFML-2.2\lib\libglew.a(glew.c.o):glew.c || undefined reference to `wglGetCurrentDC@0'|
C:\SFML-2.2\lib\libsfml-system-s-d.a(SleepImpl.cpp.obj) || In function `ZN2sf4priv9sleepImplENS_4TimeE':|
D:\sfml-release\_Sources\SFML\src\SFML\System\Win32\SleepImpl.cpp|41| undefined reference to `_imp__timeGetDevCaps@8'|
D:\sfml-release\_Sources\SFML\src\SFML\System\Win32\SleepImpl.cpp|44| undefined reference to `_imp__timeBeginPeriod@4'|
D:\sfml-release\_Sources\SFML\src\SFML\System\Win32\SleepImpl.cpp|50| undefined reference to `_imp__timeEndPeriod@4'|
||=== Build failed: 5 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|
D:\sfml-release\_Sources\SFML\src\SFML\System\Win32\SleepImpl.cpp
C:\SFML-2.2\lib\libsfml-system-s.a(SleepImpl.cpp.obj):SleepImpl.cpp || undefined reference to `_imp__timeGetDevCaps@8'|
C:\SFML-2.2\lib\libsfml-system-s.a(SleepImpl.cpp.obj):SleepImpl.cpp || undefined reference to `_imp__timeBeginPeriod@4'|
C:\SFML-2.2\lib\libsfml-system-s.a(SleepImpl.cpp.obj):SleepImpl.cpp || undefined reference to `_imp__timeEndPeriod@4'|
||=== Build: Debug in MTG (compiler: GNU GCC Compiler) ===|error...
C:\SFML-2.2\lib\libglew.a(glew.c.o):glew.c || undefined reference to `wglGetCurrentDC@0'|
C:\SFML-2.2\lib\libglew.a(glew.c.o):glew.c || undefined reference to `wglGetCurrentDC@0'|
||=== Build failed: 2 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|