How to add SFML to visual studio very easy 2021!

preview_player
Показать описание

Download the visual studio template extension

In "edit the system environment variables " select Environment variables
and in System Variables add a new variable SFML32_DIR/SFML64_DIR , add just the one compatible with the version of sfml downloaded 32bits or 64bits (in the value box must be added the folder where SFML was extracted)
Press ok , and ok again . Restart visual studio and you are good to go .

In Project - Properties - (Debug , 32/64) Linker - General - Additional Library Directories - add $(SFML32/64 _DIR)\lib

To check computer version : Go to My Computer , right click and select Properties .
Рекомендации по теме