Skip to content

Latest commit

 

History

History
27 lines (23 loc) · 779 Bytes

File metadata and controls

27 lines (23 loc) · 779 Bytes

Good youtube tutorial

this guy knows whats up: https://www.youtube.com/watch?v=Qqk9o2RIayw&list=PLkX_-fCkj2di5WrSIBE66j5Yq0xmHvpAv

Linking new libraries or whatever STATICALLY

In tasks.json you have

    "-lsfml-graphics-s",
    "-lsfml-window-s",
    "-lsfml-system-s",
    "-lopengl32",
    "-lwinm",
    "-lgdis32"

To add a library to link add the library with "-lsfml-graphics" + "-s" suffix for static linking, then check https://www.sfml-dev.org/tutorials/3.0/getting-started/code-blocks/#creating-and-configuring-an-sfml-project for the dependencies you need to add.

Linking dynamically (do this)

    "-lsfml-graphics",
    "-lsfml-window",
    "-lsfml-system",

Do that and just make sure you have the dll in the same folder as the .exe