filmov
tv
MSYS2 - Mingw64 and SDL2 Setup For C Programming on Windows
Показать описание
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:
Get SDL2
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!
Join me on - Odysee Invite Code
*** Social / Information ***
#cprogramming #MSYS2 #sdl2 #raven67854
Комментарии