what im trying to do is make my window the size of my desktop(without full screen) but each time i run my code it says it cant find the functions implamintation
Error 1 error LNK2019: unresolved external symbol "__declspec(dllimport) public: static class sf::VideoMode __stdcall sf::VideoMode::getDesktopMode(void)" (__imp_?getDesktopMode@VideoMode@sf@@SG?AV12@XZ) referenced in function _WinMain@16 C:\Users\Harmz\documents\visual studio 2012\Projects\GraphDrawer\GraphDrawer\Progrem.obj
yet i have included the needed files,included all the libs and copied all the dlls and when i run my code without this function i.e.
sf::RenderWindow window(sf::VideoMode(800,800),"SFML Window",sf::Style::None);
the program runs.
for addtional info:
included headers:
#include <Windows.h>
#include "SFML\Window.hpp"
#include "SFML\Graphics.hpp"
included libs(running in debug):
sfml-audio-d.lib
sfml-graphics-d.lib
sfml-network-d.lib
sfml-main-d.lib
sfml-system-d.lib
sfml-window-d.lib
included dll's:
libsndfile-1.dll
openal32.dll
sfml-audio-d-2.dll
sfml-graphics-d-2.dll
sfml-network-d-2.dll
sfml-system-d-2.dll
sfml-window-d-2.dll