79701547

Date: 2025-07-15 04:21:19
Score: 1.5
Natty:
Report link

You need to link the other dependencies as well according to the sfml site, Make sure to put them in this order.. winmm.lib, sfml-system-s.lib(or sfml-system-s-d.lib if debug), then opengl32.lib;gdi32.lib; sfml-window-s.lib( or sfml-window-s-d.lib if debug) , then freetype.lib; sfml-graphics-s.lib( or sfml-graphics-s-d.lib if debug), then flac.lib;vorbisenc.lib;vorbisfile.lib;vorbis.lib;ogg.lib, tben sfml-audio-s.lib( or sfml-audio-s-d.lib if debug), then ws2_32.lib; sfml-netowork-s.lib( or sfml-network-s-d.lib if debug).. when putting SFML_STATIC; in the preprocessor settings, as they will all need to be linked in order, and do not put the .dll files into the folder you .exe file appears after its build (usually at (ProjectDir)/x64, which has two folders, Debug and Release depending on what you built it for, x64[Debug] or x64[Release],, or.. if you built for win 32(x86), then the .exe file will build into the (ProjectDir)/Release of (ProjectDir)/Debug folders, depending on what you are trying to build for .. If you set that build config up for that setup and it is static, then you do all you did already but in the additional linker serttings, put them all in the exact order as I stated, then make sure the .exe folder where it will build, does not have any .dll files for sfml at all. then when you build it, you can give to yourfriends and they dont have to download shit to play it, because you made it static, no extra files are needed to run it.. take it places have fun.. if you do not need to do it static and you erase it, then yes all you need are the sfml-*.lib files in the additional dependencies as it will attempt to load them from your machine instead, which the settings already have those dlls ready to go so you dont need the extra ones, but if you try to run the .exe file on another machine, who dont have the .dlls needed, it will not run, so you need to give your friends the .exe with the .dll files relating to those .lib files I added to the mix above. Make sense? Also, if you do not do static, then after you do all that, build your program but dont run it.. then go into that folder where the .exe files is , and copy into it the .dll files from sfml3/bin folder, whereever you got that, just copy em into your .exe folder for the build type and it will be able to read them and run your program.. Hope that helps.. -AcidMan out

Reasons:
  • Whitelisted phrase (-1): Hope that helps
  • Contains signature (1):
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: aCIDman