I got these errors, while compiling my project with mingw:
||=== app, Debug ===|
...\SFML-1.5\lib\mingw\libsfml-window-s-d.a(Joystick.o)||In function `_ZN2sf4priv8Joystick10InitializeEj':|
...\SFML-1.5\src\SFML\Window\Win32\Joystick.cpp|54|undefined reference to `_joyGetPosEx@8'|
...\SFML-1.5\src\SFML\Window\Win32\Joystick.cpp|64|undefined reference to `_joyGetDevCapsA@12'|
...\SFML-1.5\lib\mingw\libsfml-window-s-d.a(Joystick.o)||In function `_ZN2sf4priv8Joystick11UpdateStateEv':|
...\SFML-1.5\src\SFML\Window\Win32\Joystick.cpp|89|undefined reference to `_joyGetDevCapsA@12'|
...\SFML-1.5\src\SFML\Window\Win32\Joystick.cpp|95|undefined reference to `_joyGetPosEx@8'|
...\SFML-1.5\lib\mingw\libsfml-window-s-d.a(WindowImplWin32.o)||In function `_ZN2sf4priv15WindowImplWin32C2ENS_9VideoModeERKSsmRNS_14WindowSettingsE':|
...\SFML-1.5\src\SFML\Window\Win32\WindowImplWin32.cpp|153|undefined reference to `_GetDeviceCaps@8'|
...\SFML-1.5\src\SFML\Window\Win32\WindowImplWin32.cpp|154|undefined reference to `_GetDeviceCaps@8'|
...\SFML-1.5\lib\mingw\libsfml-window-s-d.a(WindowImplWin32.o)||In function `_ZN2sf4priv15WindowImplWin32C1ENS_9VideoModeERKSsmRNS_14WindowSettingsE':|
...\SFML-1.5\src\SFML\Window\Win32\WindowImplWin32.cpp|153|undefined reference to `_GetDeviceCaps@8'|
...\SFML-1.5\src\SFML\Window\Win32\WindowImplWin32.cpp|154|undefined reference to `_GetDeviceCaps@8'|
...\SFML-1.5\lib\mingw\libsfml-window-s-d.a(WindowImplWin32.o)||In function `_ZN2sf4priv15WindowImplWin327DisplayEv':|
...\SFML-1.5\src\SFML\Window\Win32\WindowImplWin32.cpp|286|undefined reference to `_SwapBuffers@4'|
...\SFML-1.5\lib\mingw\libsfml-window-s-d.a(WindowImplWin32.o)||In function `_ZN2sf4priv15WindowImplWin3213CreateContextERKNS_9VideoModeERNS_14WindowSettingsE':|
...\SFML-1.5\src\SFML\Window\Win32\WindowImplWin32.cpp|563|undefined reference to `_DescribePixelFormat@16'|
...\SFML-1.5\src\SFML\Window\Win32\WindowImplWin32.cpp|595|undefined reference to `_ChoosePixelFormat@8'|
...\SFML-1.5\src\SFML\Window\Win32\WindowImplWin32.cpp|607|undefined reference to `_DescribePixelFormat@16'|
...\SFML-1.5\src\SFML\Window\Win32\WindowImplWin32.cpp|612|undefined reference to `_SetPixelFormat@12'|
||=== Build finished: 13 errors, 0 warnings ===|
Linker Options: -lsfml-graphics-s-d -lsfml-window-s-d -lsfml-system-s-d -lopengl32
Is there anything missing or wrong?