Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Error with Joystik.cpp&WindowImplWin32.cpp,library missi  (Read 1943 times)

0 Members and 1 Guest are viewing this topic.

helo9

  • Newbie
  • *
  • Posts: 2
    • View Profile
Error with Joystik.cpp&WindowImplWin32.cpp,library missi
« on: February 07, 2010, 11:09:52 am »
I got these errors, while compiling my project with mingw:
Code: [Select]
||=== 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?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Error with Joystik.cpp&WindowImplWin32.cpp,library missi
« Reply #1 on: February 07, 2010, 11:38:35 am »
Do you use the 1.5 release, or did you recompile SFML?
Laurent Gomila - SFML developer

helo9

  • Newbie
  • *
  • Posts: 2
    • View Profile
Error with Joystik.cpp&WindowImplWin32.cpp,library missi
« Reply #2 on: February 07, 2010, 11:46:55 am »
Oh I recompiled it :oops:
I didn´t even had a look into the lib folder.

I downlaoded it again, now it´s working.

Thanks :D

 

anything