this guy knows whats up: https://www.youtube.com/watch?v=Qqk9o2RIayw&list=PLkX_-fCkj2di5WrSIBE66j5Yq0xmHvpAv
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.
"-lsfml-graphics",
"-lsfml-window",
"-lsfml-system",Do that and just make sure you have the dll in the same folder as the .exe