1
General / Visual Studio 2015 Static Linking Problem
« on: April 10, 2016, 01:37:55 pm »
So i got the newest version of SFML, prior to questions, yes the right one. When i am linking dinamically, everything's just fine. But then i decided i don't want this dll's so i tried to do that. But here i get 46 errors like this:
Severity Code Description Project File Line Suppression State
Error LNK2019 unresolved external symbol __imp__EnumDisplaySettingsW@12 referenced in function "public: static class std::vector<class sf::VideoMode,class std::allocator<class sf::VideoMode> > __cdecl sf::priv::VideoModeImpl::getFullscreenModes(void)" (?getFullscreenModes@VideoModeImpl@priv@sf@@SA?AV?$vector@VVideoMode@sf@@V?$allocator@VVideoMode@sf@@@std@@@std@@XZ) ConsoleApplication2 c:\Users\Volterra\documents\visual studio 2015\Projects\ConsoleApplication2\ConsoleApplication2\sfml-window-s-d.lib(VideoModeImpl.cpp.obj) 1
Error LNK2019 unresolved external symbol __imp__EnumDisplaySettingsW@12 referenced in function "public: static class std::vector<class sf::VideoMode,class std::allocator<class sf::VideoMode> > __cdecl sf::priv::VideoModeImpl::getFullscreenModes(void)" (?getFullscreenModes@VideoModeImpl@priv@sf@@SA?AV?$vector@VVideoMode@sf@@V?$allocator@VVideoMode@sf@@@std@@@std@@XZ) ConsoleApplication2 c:\Users\Volterra\documents\visual studio 2015\Projects\ConsoleApplication2\ConsoleApplication2\sfml-window-s-d.lib(VideoModeImpl.cpp.obj) 1