minesweeper made with c++ and sdl
-
clone all of files in this repo
-
make an empty project in visual studio
-
goto folder which has project file(.vcxproj) and then paste all of files we cloned
-
add source files and header files
-
In visual studio, go to Project -> properties -> Linker -> Input -> Additional dependencies
-
add SDL2_ttf.lib , SDL2_image.lib , SDL2main.lib , SDL2_mixer.lib , SDL2.lib
-
go to Project -> properties -> Configuration Properties -> Include Directories
-
add SDL2_mixer-devel-2.0.2-VC/include , SDL2_ttf-devel-2.0.14-VC/include , SDL2_image-2.0.1/include , SDL2-devel-2.0.7-VC/include
-
go to Project -> properties -> Configuration Properties -> Library Directories
-
add SDL2_mixer-devel-2.0.2-VC/lib/x86, SDL2_mixer-devel-2.0.2-VC/lib/x86, SDL2_image-2.0.1/lib/x86, SDL2-devel-2.0.7-VC/lib/x86
-
after finishing all of these processes , then build and play it!