SFML community forums

Help => Graphics => Topic started by: Henrik.Flink on January 13, 2008, 07:13:42 pm

Title: renderwindow error
Post by: Henrik.Flink 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...
Title: renderwindow error
Post by: Laurent 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, ...) ?
Title: renderwindow error
Post by: Henrik.Flink on January 14, 2008, 08:22:06 am
Ah yes im using express, thanks alot!