MSYS2 - Mingw64 and SDL2 Setup For C Programming on Windows
https://discord.gg/NBQrnxErek
Member - https://youtube.com/c/raven67854/join
What is MYSYS2?
MSYS2 is a collection of tools and libraries providing you with an easy-to-use environment for building, installing and running native Windows software.
What is SDL2?
Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D. It is used by video playback software, emulators, and popular games including Valve's award winning catalog and many Humble Bundle games.
Get MSYS2:
https://www.msys2.org/
Get SDL2
https://libsdl.org/
Commands used in the video:
pacman -Syu
pacman -S git mingw-w64-x86_64-gcc mingw-w64-x86_64-toolchain mingw64/mingw-w64-x86_64-SDL2 mingw64/mingw-w64-x86_64-SDL2_mixer mingw64/mingw-w64-x86_64-SDL2_image mingw64/mingw-w64-x86_64-SDL2_ttf mingw64/mingw-w64-x86_64-SDL2_net mingw64/mingw-w64-x86_64-cmake make
gcc "name of file".c -o "executable name".exe $(pkg-config --cflags --libs sdl2)
Become a member and support the channel + perks!
https://youtube.com/c/raven67854/join
Join me on - Odysee Invite Code
https://odysee.com/$/invite/@Raven67854:1
*** Social / Information ***
Twitter - https://twitter.com/#!/Raven67854
Patreon - https://www.patreon.com/raven67854
Become a member - https://youtube.com/c/raven67854/join
Steam Group - http://steamcommunity.com/groups/RGC67854
TwitchTV - http://www.twitch.tv/raven67854
Discord - https://discord.gg/NBQrnxErek
#cprogramming #MSYS2 #sdl2 #raven67854