Okay so i included everything: in the debug configuration -> the -d.lib
files and the .lib
files as in the release configuration (under Linker -> Input
). Then added additional library directories and additional include directories. i tried inputting SFML_STATIC
in preprocessor section but that didn't work too. After some time i deleted it (thanks to the previous comment) and the code worked.
Also try to set ISO C++ Standard 17 under C/C++ -> Language
and run in 'Debug' mode and make sure x64 is selected, and while making a new project select "Empty Project" and not "Windows Desktop Application" or anything else