SFML community forums
Help => General => Topic started by: Tim Leach on October 08, 2017, 10:35:10 pm
-
I'm a stickler for the compact and easy, so I'm using static linking to get my final programs down to a single executable. I'm on Windows, 64-bit, using Visual Studio 2017.
From the FAQ:
Note: For Windows all dependencies can be found in the extlibs directory.
https://github.com/SFML/SFML/tree/master/extlibs
No, they can't!! Where are jpeg.lib, winmm.lib, opengl32.lib, or anything except the base sfml and audio libraries??
Listing only the libraries that are present in Visual Studio's "additional dependencies" section means I get loads of linker errors, so clearly I do need them, but listing the absent ones gets linker errors as well!
How can I get my code to compile? Are these libraries present elsewhere on my computer?
Sorry for my angry tone, I am very frustrated.
-
jpeg was removed in one of the latest releases, so if you're using master branch it's not needed.
winmm, opengl and other are system libraries and are shipped with your compiler, you just need to specify them and the linker will find them.
-
Fixed!! Thank you so much, now I can start fixing the other problems with the build ;)