1
Window / Re: cant get sf::VideoMode::getDesktopMode() to work
« on: October 25, 2013, 10:53:31 pm »
i opened a new project and it worked
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
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
sf::RenderWindow window(sf::VideoMode(800,800),"SFML Window",sf::Style::None);
#include <Windows.h>
#include "SFML\Window.hpp"
#include "SFML\Graphics.hpp"
sfml-audio-d.libincluded dll's:
sfml-graphics-d.lib
sfml-network-d.lib
sfml-main-d.lib
sfml-system-d.lib
sfml-window-d.lib
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