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

Author Topic: renderwindow error  (Read 4148 times)

0 Members and 1 Guest are viewing this topic.

Henrik.Flink

  • Newbie
  • *
  • Posts: 21
    • View Profile
renderwindow error
« on: January 13, 2008, 07:13:42 pm »
When i try to create a renderwindow i get these errors:
Code: [Select]
Error 1 error LNK2001: unresolved external symbol __imp__ShowWindow@8 sfml-window-d.lib
Error 2 error LNK2001: unresolved external symbol __imp__CreateWindowExW@48 sfml-window-d.lib
Error 3 error LNK2001: unresolved external symbol __imp__SetWindowLongW@12 sfml-window-d.lib
Error 4 error LNK2001: unresolved external symbol __imp__GetClientRect@8 sfml-window-d.lib
Error 5 error LNK2001: unresolved external symbol __imp__AdjustWindowRect@12 sfml-window-d.lib
and more. Ive included the graphics pack and the graphics lib so it should work...

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
renderwindow error
« Reply #1 on: January 14, 2008, 02:04:06 am »
Have linked with sfml-window.lib ? If you're using VC++ Express 2005, have you also linked with the Windows libraries (user32.lib, kernel32.lib, gdi32.lib, ...) ?
Laurent Gomila - SFML developer

Henrik.Flink

  • Newbie
  • *
  • Posts: 21
    • View Profile
renderwindow error
« Reply #2 on: January 14, 2008, 08:22:06 am »
Ah yes im using express, thanks alot!

 

anything