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

Author Topic: How do I finish my static CMake VS build?  (Read 2435 times)

0 Members and 1 Guest are viewing this topic.

EvilDuck

  • Newbie
  • *
  • Posts: 5
    • View Profile
How do I finish my static CMake VS build?
« on: January 19, 2019, 12:23:41 am »
I've been trying to get SFML to work with minimal files when I send it to one of my friends (no dlls or libs), so I'm using CMake to make the build. Needless to say, I'm not very experienced in this area, and while I probably could find the answer somewhere online, I've already been working on this for too many hours.

Currently, I have used CMake to generate a visual studio file as seen below.

So my question is, what comes next? Is there some way to extract the libraries from this for use in my other projects, or to turn it into a prefab or what?

« Last Edit: January 19, 2019, 12:25:15 am by EvilDuck »

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11030
    • View Profile
    • development blog
    • Email
Re: How do I finish my static CMake VS build?
« Reply #1 on: January 19, 2019, 12:31:12 am »
You open the Visual Studio project, like any other Visual Studio project and then build the solution. If you've specified a reasonable path for CMAKE_INSTALL_PREFIX it's recommended to build the INSTALL project, which will copy all the libs and additional files neatly into one location. :)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

EvilDuck

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: How do I finish my static CMake VS build?
« Reply #2 on: January 19, 2019, 12:58:18 am »
Cool, thanks. Just one more problem;

There are only the debug files in the libraries folder (there is sfml-graphics-s-d.lib but no sfml-graphics-s.lib), and the following libraries are missing; opengl32.lib, winmm.lib, sw2_32.lib, and gdi32.lib. Can I just copy those from another instance of SFML or will that stuff up the static linking?
« Last Edit: January 19, 2019, 01:01:53 am by EvilDuck »

EvilDuck

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: How do I finish my static CMake VS build?
« Reply #3 on: January 19, 2019, 01:24:59 am »
When I run a program linked to the libraries I compiled such as this:

#include <SFML/Graphics.hpp>

int main()
{
        sf::RenderWindow window(sf::VideoMode(500, 500), "New Window", sf::Style::Close);

        while (window.isOpen())
        {
                sf::Event windowEvent;
                window.pollEvent(windowEvent);
                if (windowEvent.type == sf::Event::Closed) window.close();

                window.clear();
                window.display();
        }

        return 0;
}
 

I get the following errors:


Severity        Code    Description     Project File    Line    Suppression State
Error   LNK1120 105 unresolved externals        Static SFML     C:\Users\hhgra\source\repos\Static SFML\Debug\Static SFML.exe   1      
Error   LNK2001 unresolved external symbol _glBindTexture@8     Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-graphics-s-d.lib(TextureSaver.obj)     1      
Error   LNK2019 unresolved external symbol _glBindTexture@8 referenced in function "public: bool __thiscall sf::Texture::create(unsigned int,unsigned int)" (?create@Texture@sf@@QAE_NII@Z)     Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-graphics-s-d.lib(Texture.obj)  1      
Error   LNK2019 unresolved external symbol _glBlendFunc@8 referenced in function "private: void __thiscall sf::RenderTarget::applyBlendMode(struct sf::BlendMode const &)" (?applyBlendMode@RenderTarget@sf@@AAEXABUBlendMode@2@@Z)     Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-graphics-s-d.lib(RenderTarget.obj)     1      
Error   LNK2019 unresolved external symbol _glClear@4 referenced in function "public: void __thiscall sf::RenderTarget::clear(class sf::Color const &)" (?clear@RenderTarget@sf@@QAEXABVColor@2@@Z)     Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-graphics-s-d.lib(RenderTarget.obj)     1      
Error   LNK2019 unresolved external symbol _glClearColor@16 referenced in function "public: void __thiscall sf::RenderTarget::clear(class sf::Color const &)" (?clear@RenderTarget@sf@@QAEXABVColor@2@@Z)       Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-graphics-s-d.lib(RenderTarget.obj)     1      
Error   LNK2019 unresolved external symbol _glColorPointer@16 referenced in function "public: void __thiscall sf::RenderTarget::draw(class sf::Vertex const *,unsigned int,enum sf::PrimitiveType,class sf::RenderStates const &)" (?draw@RenderTarget@sf@@QAEXPBVVertex@2@IW4PrimitiveType@2@ABVRenderStates@2@@Z)     Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-graphics-s-d.lib(RenderTarget.obj)     1      
Error   LNK2019 unresolved external symbol _glCopyTexSubImage2D@32 referenced in function "public: void __thiscall sf::Texture::update(class sf::Window const &,unsigned int,unsigned int)" (?update@Texture@sf@@QAEXABVWindow@2@II@Z)  Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-graphics-s-d.lib(Texture.obj)  1      
Error   LNK2019 unresolved external symbol _glDeleteTextures@8 referenced in function "public: __thiscall sf::Texture::~Texture(void)" (??1Texture@sf@@QAE@XZ)  Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-graphics-s-d.lib(Texture.obj)  1      
Error   LNK2019 unresolved external symbol _glDisable@4 referenced in function "public: void __thiscall sf::RenderTarget::resetGLStates(void)" (?resetGLStates@RenderTarget@sf@@QAEXXZ) Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-graphics-s-d.lib(RenderTarget.obj)     1      
Error   LNK2019 unresolved external symbol _glDisableClientState@4 referenced in function "public: void __thiscall sf::RenderTarget::draw(class sf::Vertex const *,unsigned int,enum sf::PrimitiveType,class sf::RenderStates const &)" (?draw@RenderTarget@sf@@QAEXPBVVertex@2@IW4PrimitiveType@2@ABVRenderStates@2@@Z)        Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-graphics-s-d.lib(RenderTarget.obj)     1      
Error   LNK2019 unresolved external symbol _glDrawArrays@12 referenced in function "private: void __thiscall sf::RenderTarget::drawPrimitives(enum sf::PrimitiveType,unsigned int,unsigned int)" (?drawPrimitives@RenderTarget@sf@@AAEXW4PrimitiveType@2@II@Z)  Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-graphics-s-d.lib(RenderTarget.obj)     1      
Error   LNK2019 unresolved external symbol _glEnable@4 referenced in function "public: void __thiscall sf::RenderTarget::resetGLStates(void)" (?resetGLStates@RenderTarget@sf@@QAEXXZ)  Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-graphics-s-d.lib(RenderTarget.obj)     1      
Error   LNK2019 unresolved external symbol _glEnableClientState@4 referenced in function "public: void __thiscall sf::RenderTarget::draw(class sf::Vertex const *,unsigned int,enum sf::PrimitiveType,class sf::RenderStates const &)" (?draw@RenderTarget@sf@@QAEXPBVVertex@2@IW4PrimitiveType@2@ABVRenderStates@2@@Z) Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-graphics-s-d.lib(RenderTarget.obj)     1      
Error   LNK2001 unresolved external symbol _glFlush@0   Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-graphics-s-d.lib(Texture.obj)  1      
Error   LNK2019 unresolved external symbol _glFlush@0 referenced in function "private: bool __thiscall sf::Shader::compile(char const *,char const *,char const *)" (?compile@Shader@sf@@AAE_NPBD00@Z)  Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-graphics-s-d.lib(Shader.obj)   1      
Error   LNK2019 unresolved external symbol _glGenTextures@8 referenced in function "public: bool __thiscall sf::Texture::create(unsigned int,unsigned int)" (?create@Texture@sf@@QAE_NII@Z)     Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-graphics-s-d.lib(Texture.obj)  1      
Error   LNK2001 unresolved external symbol _glGetError@0        Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-graphics-s-d.lib(GLExtensions.obj)     1      
Error   LNK2001 unresolved external symbol _glGetError@0        Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-graphics-s-d.lib(GLCheck.obj)  1      
Error   LNK2019 unresolved external symbol _glGetError@0 referenced in function "public: void __thiscall sf::RenderTarget::pushGLStates(void)" (?pushGLStates@RenderTarget@sf@@QAEXXZ)  Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-graphics-s-d.lib(RenderTarget.obj)     1      
Error   LNK2001 unresolved external symbol _glGetIntegerv@8     Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-graphics-s-d.lib(TextureSaver.obj)     1      
Error   LNK2001 unresolved external symbol _glGetIntegerv@8     Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-graphics-s-d.lib(Shader.obj)   1      
Error   LNK2001 unresolved external symbol _glGetIntegerv@8     Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-graphics-s-d.lib(Texture.obj)  1      
Error   LNK2001 unresolved external symbol _glGetIntegerv@8     Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-graphics-s-d.lib(GLExtensions.obj)     1      
Error   LNK2001 unresolved external symbol _glGetIntegerv@8     Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-graphics-s-d.lib(RenderTextureImplFBO.obj)     1      
Error   LNK2019 unresolved external symbol _glGetString@4 referenced in function "void __cdecl sf::priv::ensureExtensionsInit(void)" (?ensureExtensionsInit@priv@sf@@YAXXZ)     Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-graphics-s-d.lib(GLExtensions.obj)     1      
Error   LNK2019 unresolved external symbol _glGetTexImage@20 referenced in function "public: class sf::Image __thiscall sf::Texture::copyToImage(void)const " (?copyToImage@Texture@sf@@QBE?AVImage@2@XZ)       Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-graphics-s-d.lib(Texture.obj)  1      
Error   LNK2001 unresolved external symbol _glLoadIdentity@0    Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-graphics-s-d.lib(Texture.obj)  1      
Error   LNK2019 unresolved external symbol _glLoadIdentity@0 referenced in function "public: void __thiscall sf::RenderTarget::resetGLStates(void)" (?resetGLStates@RenderTarget@sf@@QAEXXZ)    Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-graphics-s-d.lib(RenderTarget.obj)     1      
Error   LNK2001 unresolved external symbol _glLoadMatrixf@4     Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-graphics-s-d.lib(Texture.obj)  1      
Error   LNK2019 unresolved external symbol _glLoadMatrixf@4 referenced in function "private: void __thiscall sf::RenderTarget::applyCurrentView(void)" (?applyCurrentView@RenderTarget@sf@@AAEXXZ)      Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-graphics-s-d.lib(RenderTarget.obj)     1      
Error   LNK2001 unresolved external symbol _glMatrixMode@4      Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-graphics-s-d.lib(Texture.obj)  1      
Error   LNK2019 unresolved external symbol _glMatrixMode@4 referenced in function "public: void __thiscall sf::RenderTarget::pushGLStates(void)" (?pushGLStates@RenderTarget@sf@@QAEXXZ)        Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-graphics-s-d.lib(RenderTarget.obj)     1      
Error   LNK2019 unresolved external symbol _glPopAttrib@0 referenced in function "public: void __thiscall sf::RenderTarget::popGLStates(void)" (?popGLStates@RenderTarget@sf@@QAEXXZ)   Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-graphics-s-d.lib(RenderTarget.obj)     1      
Error   LNK2019 unresolved external symbol _glPopClientAttrib@0 referenced in function "public: void __thiscall sf::RenderTarget::popGLStates(void)" (?popGLStates@RenderTarget@sf@@QAEXXZ)     Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-graphics-s-d.lib(RenderTarget.obj)     1      
Error   LNK2019 unresolved external symbol _glPopMatrix@0 referenced in function "public: void __thiscall sf::RenderTarget::popGLStates(void)" (?popGLStates@RenderTarget@sf@@QAEXXZ)   Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-graphics-s-d.lib(RenderTarget.obj)     1      
Error   LNK2019 unresolved external symbol _glPushAttrib@4 referenced in function "public: void __thiscall sf::RenderTarget::pushGLStates(void)" (?pushGLStates@RenderTarget@sf@@QAEXXZ)        Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-graphics-s-d.lib(RenderTarget.obj)     1      
Error   LNK2019 unresolved external symbol _glPushClientAttrib@4 referenced in function "public: void __thiscall sf::RenderTarget::pushGLStates(void)" (?pushGLStates@RenderTarget@sf@@QAEXXZ)  Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-graphics-s-d.lib(RenderTarget.obj)     1      
Error   LNK2019 unresolved external symbol _glPushMatrix@0 referenced in function "public: void __thiscall sf::RenderTarget::pushGLStates(void)" (?pushGLStates@RenderTarget@sf@@QAEXXZ)        Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-graphics-s-d.lib(RenderTarget.obj)     1      
Error   LNK2019 unresolved external symbol _glTexCoordPointer@16 referenced in function "public: void __thiscall sf::RenderTarget::draw(class sf::Vertex const *,unsigned int,enum sf::PrimitiveType,class sf::RenderStates const &)" (?draw@RenderTarget@sf@@QAEXPBVVertex@2@IW4PrimitiveType@2@ABVRenderStates@2@@Z)  Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-graphics-s-d.lib(RenderTarget.obj)     1      
Error   LNK2019 unresolved external symbol _glTexImage2D@36 referenced in function "public: bool __thiscall sf::Texture::create(unsigned int,unsigned int)" (?create@Texture@sf@@QAE_NII@Z)     Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-graphics-s-d.lib(Texture.obj)  1      
Error   LNK2019 unresolved external symbol _glTexParameteri@12 referenced in function "public: bool __thiscall sf::Texture::create(unsigned int,unsigned int)" (?create@Texture@sf@@QAE_NII@Z)  Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-graphics-s-d.lib(Texture.obj)  1      
Error   LNK2019 unresolved external symbol _glTexSubImage2D@36 referenced in function "public: bool __thiscall sf::Texture::loadFromImage(class sf::Image const &,class sf::Rect<int> const &)" (?loadFromImage@Texture@sf@@QAE_NABVImage@2@ABV?$Rect@H@2@@Z)   Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-graphics-s-d.lib(Texture.obj)  1      
Error   LNK2019 unresolved external symbol _glVertexPointer@16 referenced in function "public: void __thiscall sf::RenderTarget::draw(class sf::Vertex const *,unsigned int,enum sf::PrimitiveType,class sf::RenderStates const &)" (?draw@RenderTarget@sf@@QAEXPBVVertex@2@IW4PrimitiveType@2@ABVRenderStates@2@@Z)    Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-graphics-s-d.lib(RenderTarget.obj)     1      
Error   LNK2019 unresolved external symbol _glViewport@16 referenced in function "private: void __thiscall sf::RenderTarget::applyCurrentView(void)" (?applyCurrentView@RenderTarget@sf@@AAEXXZ)        Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-graphics-s-d.lib(RenderTarget.obj)     1      
Error   LNK2019 unresolved external symbol __imp__AdjustWindowRect@12 referenced in function "public: __thiscall sf::priv::WindowImplWin32::WindowImplWin32(class sf::VideoMode,class sf::String const &,unsigned int,struct sf::ContextSettings const &)" (??0WindowImplWin32@priv@sf@@QAE@VVideoMode@2@ABVString@2@IABUContextSettings@2@@Z)  Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(WindowImplWin32.obj)    1      
Error   LNK2019 unresolved external symbol __imp__CallWindowProcW@20 referenced in function "private: static long __stdcall sf::priv::WindowImplWin32::globalOnEvent(struct HWND__ *,unsigned int,unsigned int,long)" (?globalOnEvent@WindowImplWin32@priv@sf@@CGJPAUHWND__@@IIJ@Z)     Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(WindowImplWin32.obj)    1      
Error   LNK2019 unresolved external symbol __imp__ChangeDisplaySettingsW@8 referenced in function "private: void __thiscall sf::priv::WindowImplWin32::switchToFullscreen(class sf::VideoMode const &)" (?switchToFullscreen@WindowImplWin32@priv@sf@@AAEXABVVideoMode@3@@Z)    Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(WindowImplWin32.obj)    1      
Error   LNK2019 unresolved external symbol __imp__ChoosePixelFormat@8 referenced in function "public: static int __cdecl sf::priv::WglContext::selectBestPixelFormat(struct HDC__ *,unsigned int,struct sf::ContextSettings const &,bool)" (?selectBestPixelFormat@WglContext@priv@sf@@SAHPAUHDC__@@IABUContextSettings@3@_N@Z) Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(WglContext.obj) 1      
Error   LNK2019 unresolved external symbol __imp__ClipCursor@4 referenced in function "private: void __thiscall sf::priv::WindowImplWin32::grabCursor(bool)" (?grabCursor@WindowImplWin32@priv@sf@@AAEX_N@Z)    Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(WindowImplWin32.obj)    1      
Error   LNK2019 unresolved external symbol __imp__CopyIcon@4 referenced in function "public: bool __thiscall sf::priv::CursorImpl::loadFromSystem(enum sf::Cursor::Type)" (?loadFromSystem@CursorImpl@priv@sf@@QAE_NW4Type@Cursor@3@@Z) Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(CursorImpl.obj) 1      
Error   LNK2019 unresolved external symbol __imp__CreateBitmap@20 referenced in function "public: bool __thiscall sf::priv::CursorImpl::loadFromPixels(unsigned char const *,class sf::Vector2<unsigned int>,class sf::Vector2<unsigned int>)" (?loadFromPixels@CursorImpl@priv@sf@@QAE_NPBEV?$Vector2@I@3@1@Z) Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(CursorImpl.obj) 1      
Error   LNK2019 unresolved external symbol __imp__CreateDIBSection@24 referenced in function "public: bool __thiscall sf::priv::CursorImpl::loadFromPixels(unsigned char const *,class sf::Vector2<unsigned int>,class sf::Vector2<unsigned int>)" (?loadFromPixels@CursorImpl@priv@sf@@QAE_NPBEV?$Vector2@I@3@1@Z)     Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(CursorImpl.obj) 1      
Error   LNK2019 unresolved external symbol __imp__CreateIcon@28 referenced in function "public: virtual void __thiscall sf::priv::WindowImplWin32::setIcon(unsigned int,unsigned int,unsigned char const *)" (?setIcon@WindowImplWin32@priv@sf@@UAEXIIPBE@Z)    Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(WindowImplWin32.obj)    1      
Error   LNK2019 unresolved external symbol __imp__CreateIconIndirect@4 referenced in function "public: bool __thiscall sf::priv::CursorImpl::loadFromPixels(unsigned char const *,class sf::Vector2<unsigned int>,class sf::Vector2<unsigned int>)" (?loadFromPixels@CursorImpl@priv@sf@@QAE_NPBEV?$Vector2@I@3@1@Z)    Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(CursorImpl.obj) 1      
Error   LNK2019 unresolved external symbol __imp__CreateWindowExA@48 referenced in function "private: void __thiscall sf::priv::WglContext::createSurface(class sf::priv::WglContext *,unsigned int,unsigned int,unsigned int)" (?createSurface@WglContext@priv@sf@@AAEXPAV123@III@Z)   Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(WglContext.obj) 1      
Error   LNK2019 unresolved external symbol __imp__CreateWindowExW@48 referenced in function "public: __thiscall sf::priv::WindowImplWin32::WindowImplWin32(class sf::VideoMode,class sf::String const &,unsigned int,struct sf::ContextSettings const &)" (??0WindowImplWin32@priv@sf@@QAE@VVideoMode@2@ABVString@2@IABUContextSettings@2@@Z)   Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(WindowImplWin32.obj)    1      
Error   LNK2019 unresolved external symbol __imp__DefWindowProcW@16 referenced in function "private: static long __stdcall sf::priv::WindowImplWin32::globalOnEvent(struct HWND__ *,unsigned int,unsigned int,long)" (?globalOnEvent@WindowImplWin32@priv@sf@@CGJPAUHWND__@@IIJ@Z)      Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(WindowImplWin32.obj)    1      
Error   LNK2019 unresolved external symbol __imp__DeleteObject@4 referenced in function "public: bool __thiscall sf::priv::CursorImpl::loadFromPixels(unsigned char const *,class sf::Vector2<unsigned int>,class sf::Vector2<unsigned int>)" (?loadFromPixels@CursorImpl@priv@sf@@QAE_NPBEV?$Vector2@I@3@1@Z)  Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(CursorImpl.obj) 1      
Error   LNK2019 unresolved external symbol __imp__DescribePixelFormat@16 referenced in function "private: void __thiscall sf::priv::WglContext::setDevicePixelFormat(unsigned int)" (?setDevicePixelFormat@WglContext@priv@sf@@AAEXI@Z) Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(WglContext.obj) 1      
Error   LNK2019 unresolved external symbol __imp__DestroyCursor@4 referenced in function "private: void __thiscall sf::priv::CursorImpl::release(void)" (?release@CursorImpl@priv@sf@@AAEXXZ)   Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(CursorImpl.obj) 1      
Error   LNK2019 unresolved external symbol __imp__DestroyIcon@4 referenced in function "public: virtual __thiscall sf::priv::WindowImplWin32::~WindowImplWin32(void)" (??1WindowImplWin32@priv@sf@@UAE@XZ)      Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(WindowImplWin32.obj)    1      
Error   LNK2001 unresolved external symbol __imp__DestroyWindow@4       Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(WindowImplWin32.obj)    1      
Error   LNK2019 unresolved external symbol __imp__DestroyWindow@4 referenced in function "public: virtual __thiscall sf::priv::WglContext::~WglContext(void)" (??1WglContext@priv@sf@@UAE@XZ)   Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(WglContext.obj) 1      
Error   LNK2019 unresolved external symbol __imp__DispatchMessageW@4 referenced in function "protected: virtual void __thiscall sf::priv::WindowImplWin32::processEvents(void)" (?processEvents@WindowImplWin32@priv@sf@@MAEXXZ)        Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(WindowImplWin32.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)      Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(VideoModeImpl.obj)      1      
Error   LNK2019 unresolved external symbol __imp__FlashWindowEx@4 referenced in function "public: virtual void __thiscall sf::priv::WindowImplWin32::requestFocus(void)" (?requestFocus@WindowImplWin32@priv@sf@@UAEXXZ)        Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(WindowImplWin32.obj)    1      
Error   LNK2019 unresolved external symbol __imp__GetCapture@0 referenced in function "private: void __thiscall sf::priv::WindowImplWin32::processEvent(unsigned int,unsigned int,long)" (?processEvent@WindowImplWin32@priv@sf@@AAEXIIJ@Z)     Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(WindowImplWin32.obj)    1      
Error   LNK2019 unresolved external symbol __imp__GetClientRect@8 referenced in function "public: virtual class sf::Vector2<unsigned int> __thiscall sf::priv::WindowImplWin32::getSize(void)const " (?getSize@WindowImplWin32@priv@sf@@UBE?AV?$Vector2@I@3@XZ) Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(WindowImplWin32.obj)    1      
Error   LNK2001 unresolved external symbol __imp__GetDC@4       Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(WglContext.obj) 1      
Error   LNK2001 unresolved external symbol __imp__GetDC@4       Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(WindowImplWin32.obj)    1      
Error   LNK2019 unresolved external symbol __imp__GetDC@4 referenced in function "public: bool __thiscall sf::priv::CursorImpl::loadFromPixels(unsigned char const *,class sf::Vector2<unsigned int>,class sf::Vector2<unsigned int>)" (?loadFromPixels@CursorImpl@priv@sf@@QAE_NPBEV?$Vector2@I@3@1@Z) Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(CursorImpl.obj) 1      
Error   LNK2019 unresolved external symbol __imp__GetDeviceCaps@8 referenced in function "public: __thiscall sf::priv::WindowImplWin32::WindowImplWin32(class sf::VideoMode,class sf::String const &,unsigned int,struct sf::ContextSettings const &)" (??0WindowImplWin32@priv@sf@@QAE@VVideoMode@2@ABVString@2@IABUContextSettings@2@@Z)      Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(WindowImplWin32.obj)    1      
Error   LNK2019 unresolved external symbol __imp__GetForegroundWindow@0 referenced in function "public: virtual void __thiscall sf::priv::WindowImplWin32::requestFocus(void)" (?requestFocus@WindowImplWin32@priv@sf@@UAEXXZ)  Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(WindowImplWin32.obj)    1      
Error   LNK2019 unresolved external symbol __imp__GetKeyState@4 referenced in function "private: void __thiscall sf::priv::WindowImplWin32::processEvent(unsigned int,unsigned int,long)" (?processEvent@WindowImplWin32@priv@sf@@AAEXIIJ@Z)    Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(WindowImplWin32.obj)    1      
Error   LNK2019 unresolved external symbol __imp__GetPixelFormat@4 referenced in function "private: void __thiscall sf::priv::WglContext::updateSettingsFromPixelFormat(void)" (?updateSettingsFromPixelFormat@WglContext@priv@sf@@AAEXXZ)      Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(WglContext.obj) 1      
Error   LNK2019 unresolved external symbol __imp__GetWindowLongW@8 referenced in function "public: virtual void __thiscall sf::priv::WindowImplWin32::setSize(class sf::Vector2<unsigned int> const &)" (?setSize@WindowImplWin32@priv@sf@@UAEXABV?$Vector2@I@3@@Z)     Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(WindowImplWin32.obj)    1      
Error   LNK2019 unresolved external symbol __imp__GetWindowRect@8 referenced in function "public: virtual class sf::Vector2<int> __thiscall sf::priv::WindowImplWin32::getPosition(void)const " (?getPosition@WindowImplWin32@priv@sf@@UBE?AV?$Vector2@H@3@XZ)  Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(WindowImplWin32.obj)    1      
Error   LNK2019 unresolved external symbol __imp__GetWindowThreadProcessId@8 referenced in function "public: virtual void __thiscall sf::priv::WindowImplWin32::requestFocus(void)" (?requestFocus@WindowImplWin32@priv@sf@@UAEXXZ)     Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(WindowImplWin32.obj)    1      
Error   LNK2019 unresolved external symbol __imp__glEnable@4 referenced in function "private: void __thiscall sf::priv::GlContext::initialize(struct sf::ContextSettings const &)" (?initialize@GlContext@priv@sf@@AAEXABUContextSettings@3@@Z) Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(GlContext.obj)  1      
Error   LNK2019 unresolved external symbol __imp__glGetError@0 referenced in function "public: static void __cdecl sf::priv::GlContext::initResource(void)" (?initResource@GlContext@priv@sf@@SAXXZ)    Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(GlContext.obj)  1      
Error   LNK2019 unresolved external symbol __imp__glGetIntegerv@8 referenced in function "public: static void __cdecl sf::priv::GlContext::initResource(void)" (?initResource@GlContext@priv@sf@@SAXXZ) Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(GlContext.obj)  1      
Error   LNK2019 unresolved external symbol __imp__glGetString@4 referenced in function "public: static void __cdecl sf::priv::GlContext::initResource(void)" (?initResource@GlContext@priv@sf@@SAXXZ)   Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(GlContext.obj)  1      
Error   LNK2019 unresolved external symbol __imp__glIsEnabled@4 referenced in function "private: void __thiscall sf::priv::GlContext::initialize(struct sf::ContextSettings const &)" (?initialize@GlContext@priv@sf@@AAEXABUContextSettings@3@@Z)      Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(GlContext.obj)  1      
Error   LNK2019 unresolved external symbol __imp__joyGetDevCapsW@12 referenced in function "public: bool __thiscall sf::priv::JoystickImpl::open(unsigned int)" (?open@JoystickImpl@priv@sf@@QAE_NI@Z)  Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(JoystickImpl.obj)       1      
Error   LNK2019 unresolved external symbol __imp__joyGetPosEx@8 referenced in function "public: static bool __cdecl sf::priv::JoystickImpl::isConnected(unsigned int)" (?isConnected@JoystickImpl@priv@sf@@SA_NI@Z)     Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(JoystickImpl.obj)       1      
Error   LNK2001 unresolved external symbol __imp__LoadCursorW@8 Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(WindowImplWin32.obj)    1      
Error   LNK2019 unresolved external symbol __imp__LoadCursorW@8 referenced in function "public: bool __thiscall sf::priv::CursorImpl::loadFromSystem(enum sf::Cursor::Type)" (?loadFromSystem@CursorImpl@priv@sf@@QAE_NW4Type@Cursor@3@@Z)      Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(CursorImpl.obj) 1      
Error   LNK2019 unresolved external symbol __imp__MapVirtualKeyW@8 referenced in function "private: static enum sf::Keyboard::Key __cdecl sf::priv::WindowImplWin32::virtualKeyCodeToSF(unsigned int,long)" (?virtualKeyCodeToSF@WindowImplWin32@priv@sf@@CA?AW4Key@Keyboard@3@IJ@Z)    Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(WindowImplWin32.obj)    1      
Error   LNK2019 unresolved external symbol __imp__MapWindowPoints@16 referenced in function "private: void __thiscall sf::priv::WindowImplWin32::grabCursor(bool)" (?grabCursor@WindowImplWin32@priv@sf@@AAEX_N@Z)      Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(WindowImplWin32.obj)    1      
Error   LNK2019 unresolved external symbol __imp__PeekMessageW@20 referenced in function "protected: virtual void __thiscall sf::priv::WindowImplWin32::processEvents(void)" (?processEvents@WindowImplWin32@priv@sf@@MAEXXZ)   Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(WindowImplWin32.obj)    1      
Error   LNK2019 unresolved external symbol __imp__RegCloseKey@4 referenced in function "class sf::String __cdecl `anonymous namespace'::getDeviceName(unsigned int,struct tagJOYCAPSW)" (?getDeviceName@?A0xd12897be@@YA?AVString@sf@@IUtagJOYCAPSW@@@Z)        Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(JoystickImpl.obj)       1      
Error   LNK2019 unresolved external symbol __imp__RegisterClassW@4 referenced in function "private: void __thiscall sf::priv::WindowImplWin32::registerWindowClass(void)" (?registerWindowClass@WindowImplWin32@priv@sf@@AAEXXZ)        Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(WindowImplWin32.obj)    1      
Error   LNK2019 unresolved external symbol __imp__RegisterDeviceNotificationW@12 referenced in function "public: __thiscall sf::priv::WindowImplWin32::WindowImplWin32(class sf::VideoMode,class sf::String const &,unsigned int,struct sf::ContextSettings const &)" (??0WindowImplWin32@priv@sf@@QAE@VVideoMode@2@ABVString@2@IABUContextSettings@2@@Z)       Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(WindowImplWin32.obj)    1      
Error   LNK2019 unresolved external symbol __imp__RegOpenKeyExW@20 referenced in function "class sf::String __cdecl `anonymous namespace'::getDeviceName(unsigned int,struct tagJOYCAPSW)" (?getDeviceName@?A0xd12897be@@YA?AVString@sf@@IUtagJOYCAPSW@@@Z)     Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(JoystickImpl.obj)       1      
Error   LNK2019 unresolved external symbol __imp__RegQueryValueExW@24 referenced in function "class sf::String __cdecl `anonymous namespace'::getDeviceName(unsigned int,struct tagJOYCAPSW)" (?getDeviceName@?A0xd12897be@@YA?AVString@sf@@IUtagJOYCAPSW@@@Z)  Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(JoystickImpl.obj)       1      
Error   LNK2019 unresolved external symbol __imp__ReleaseCapture@0 referenced in function "private: void __thiscall sf::priv::WindowImplWin32::cleanup(void)" (?cleanup@WindowImplWin32@priv@sf@@AAEXXZ)        Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(WindowImplWin32.obj)    1      
Error   LNK2001 unresolved external symbol __imp__ReleaseDC@8   Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(WglContext.obj) 1      
Error   LNK2001 unresolved external symbol __imp__ReleaseDC@8   Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(WindowImplWin32.obj)    1      
Error   LNK2019 unresolved external symbol __imp__ReleaseDC@8 referenced in function "public: bool __thiscall sf::priv::CursorImpl::loadFromPixels(unsigned char const *,class sf::Vector2<unsigned int>,class sf::Vector2<unsigned int>)" (?loadFromPixels@CursorImpl@priv@sf@@QAE_NPBEV?$Vector2@I@3@1@Z)     Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(CursorImpl.obj) 1      
Error   LNK2019 unresolved external symbol __imp__ScreenToClient@8 referenced in function "private: void __thiscall sf::priv::WindowImplWin32::processEvent(unsigned int,unsigned int,long)" (?processEvent@WindowImplWin32@priv@sf@@AAEXIIJ@Z) Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(WindowImplWin32.obj)    1      
Error   LNK2019 unresolved external symbol __imp__SendMessageW@16 referenced in function "public: virtual void __thiscall sf::priv::WindowImplWin32::setIcon(unsigned int,unsigned int,unsigned char const *)" (?setIcon@WindowImplWin32@priv@sf@@UAEXIIPBE@Z)  Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(WindowImplWin32.obj)    1      
Error   LNK2019 unresolved external symbol __imp__SetCapture@4 referenced in function "private: void __thiscall sf::priv::WindowImplWin32::processEvent(unsigned int,unsigned int,long)" (?processEvent@WindowImplWin32@priv@sf@@AAEXIIJ@Z)     Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(WindowImplWin32.obj)    1      
Error   LNK2019 unresolved external symbol __imp__SetCursor@4 referenced in function "public: virtual void __thiscall sf::priv::WindowImplWin32::setMouseCursor(class sf::priv::CursorImpl const &)" (?setMouseCursor@WindowImplWin32@priv@sf@@UAEXABVCursorImpl@23@@Z) Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(WindowImplWin32.obj)    1      
Error   LNK2019 unresolved external symbol __imp__SetForegroundWindow@4 referenced in function "public: virtual void __thiscall sf::priv::WindowImplWin32::requestFocus(void)" (?requestFocus@WindowImplWin32@priv@sf@@UAEXXZ)  Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(WindowImplWin32.obj)    1      
Error   LNK2019 unresolved external symbol __imp__SetPixelFormat@12 referenced in function "private: void __thiscall sf::priv::WglContext::setDevicePixelFormat(unsigned int)" (?setDevicePixelFormat@WglContext@priv@sf@@AAEXI@Z)      Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(WglContext.obj) 1      
Error   LNK2019 unresolved external symbol __imp__SetWindowLongW@12 referenced in function "public: __thiscall sf::priv::WindowImplWin32::WindowImplWin32(struct HWND__ *)" (??0WindowImplWin32@priv@sf@@QAE@PAUHWND__@@@Z)     Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(WindowImplWin32.obj)    1      
Error   LNK2019 unresolved external symbol __imp__SetWindowPos@28 referenced in function "public: virtual void __thiscall sf::priv::WindowImplWin32::setPosition(class sf::Vector2<int> const &)" (?setPosition@WindowImplWin32@priv@sf@@UAEXABV?$Vector2@H@3@@Z)       Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(WindowImplWin32.obj)    1      
Error   LNK2019 unresolved external symbol __imp__SetWindowTextW@8 referenced in function "public: virtual void __thiscall sf::priv::WindowImplWin32::setTitle(class sf::String const &)" (?setTitle@WindowImplWin32@priv@sf@@UAEXABVString@3@@Z)       Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(WindowImplWin32.obj)    1      
Error   LNK2019 unresolved external symbol __imp__ShowCursor@4 referenced in function "public: virtual void __thiscall sf::priv::WindowImplWin32::setMouseCursorVisible(bool)" (?setMouseCursorVisible@WindowImplWin32@priv@sf@@UAEX_N@Z)       Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(WindowImplWin32.obj)    1      
Error   LNK2001 unresolved external symbol __imp__ShowWindow@8  Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(WindowImplWin32.obj)    1      
Error   LNK2019 unresolved external symbol __imp__ShowWindow@8 referenced in function "private: void __thiscall sf::priv::WglContext::createSurface(class sf::priv::WglContext *,unsigned int,unsigned int,unsigned int)" (?createSurface@WglContext@priv@sf@@AAEXPAV123@III@Z) Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(WglContext.obj) 1      
Error   LNK2019 unresolved external symbol __imp__SwapBuffers@4 referenced in function "public: virtual void __thiscall sf::priv::WglContext::display(void)" (?display@WglContext@priv@sf@@UAEXXZ)      Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(WglContext.obj) 1      
Error   LNK2019 unresolved external symbol __imp__timeBeginPeriod@4 referenced in function "void __cdecl sf::priv::sleepImpl(class sf::Time)" (?sleepImpl@priv@sf@@YAXVTime@2@@Z)       Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-system-s-d.lib(SleepImpl.obj)  1      
Error   LNK2019 unresolved external symbol __imp__timeEndPeriod@4 referenced in function "void __cdecl sf::priv::sleepImpl(class sf::Time)" (?sleepImpl@priv@sf@@YAXVTime@2@@Z) Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-system-s-d.lib(SleepImpl.obj)  1      
Error   LNK2019 unresolved external symbol __imp__timeGetDevCaps@8 referenced in function "void __cdecl sf::priv::sleepImpl(class sf::Time)" (?sleepImpl@priv@sf@@YAXVTime@2@@Z)        Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-system-s-d.lib(SleepImpl.obj)  1      
Error   LNK2019 unresolved external symbol __imp__TrackMouseEvent@4 referenced in function "private: void __thiscall sf::priv::WindowImplWin32::setTracking(bool)" (?setTracking@WindowImplWin32@priv@sf@@AAEX_N@Z)     Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(WindowImplWin32.obj)    1      
Error   LNK2019 unresolved external symbol __imp__TranslateMessage@4 referenced in function "protected: virtual void __thiscall sf::priv::WindowImplWin32::processEvents(void)" (?processEvents@WindowImplWin32@priv@sf@@MAEXXZ)        Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(WindowImplWin32.obj)    1      
Error   LNK2019 unresolved external symbol __imp__UnregisterClassW@8 referenced in function "public: virtual __thiscall sf::priv::WindowImplWin32::~WindowImplWin32(void)" (??1WindowImplWin32@priv@sf@@UAE@XZ) Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(WindowImplWin32.obj)    1      
Error   LNK2019 unresolved external symbol __imp__wglCreateContext@4 referenced in function "private: void __thiscall sf::priv::WglContext::createContext(class sf::priv::WglContext *)" (?createContext@WglContext@priv@sf@@AAEXPAV123@@Z)     Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(WglContext.obj) 1      
Error   LNK2019 unresolved external symbol __imp__wglDeleteContext@4 referenced in function "public: virtual __thiscall sf::priv::WglContext::~WglContext(void)" (??1WglContext@priv@sf@@UAE@XZ)        Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(WglContext.obj) 1      
Error   LNK2019 unresolved external symbol __imp__wglGetProcAddress@4 referenced in function "public: static void (__cdecl*__cdecl sf::priv::WglContext::getFunction(char const *))(void)" (?getFunction@WglContext@priv@sf@@SAP6AXXZPBD@Z)     Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(WglContext.obj) 1      
Error   LNK2019 unresolved external symbol __imp__wglMakeCurrent@8 referenced in function "public: virtual __thiscall sf::priv::WglContext::~WglContext(void)" (??1WglContext@priv@sf@@UAE@XZ)  Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(WglContext.obj) 1      
Error   LNK2019 unresolved external symbol __imp__wglShareLists@8 referenced in function "private: void __thiscall sf::priv::WglContext::createContext(class sf::priv::WglContext *)" (?createContext@WglContext@priv@sf@@AAEXPAV123@@Z)        Static SFML     C:\Users\hhgra\source\repos\Static SFML\Static SFML\sfml-window-s-d.lib(WglContext.obj) 1      

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11030
    • View Profile
    • development blog
    • Email
Re: How do I finish my static CMake VS build?
« Reply #4 on: January 19, 2019, 01:26:22 am »
Well if you want release libraries, you need to change the compiler to release build - this is about as basic C++/IDE knowledge as it gets and is pretty much expected before working with SFML. ;)

OpenGL, winmm, etc are system libraries and provided by the OS itself, so you just need to link them.

Read the tutorial on how to properly setup your VS project to work with SFML, especially the part about static linking and dependencies. ;)
https://www.sfml-dev.org/tutorials/2.5/start-vc.php
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

 

anything