Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arkenidar/sdl2-gl
OpenGL in SDL2, GL-ES in SDL2
https://github.com/arkenidar/sdl2-gl
2d 3d game gles msys msys2-mingw64 obj ogl opengl sdl sdl2 stl vscode
Last synced: about 1 month ago
JSON representation
OpenGL in SDL2, GL-ES in SDL2
- Host: GitHub
- URL: https://github.com/arkenidar/sdl2-gl
- Owner: arkenidar
- Created: 2022-05-30T16:45:25.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-25T11:49:17.000Z (over 1 year ago)
- Last Synced: 2024-12-24T08:54:00.952Z (about 1 month ago)
- Topics: 2d, 3d, game, gles, msys, msys2-mingw64, obj, ogl, opengl, sdl, sdl2, stl, vscode
- Language: C++
- Homepage:
- Size: 3.09 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SDL2-GL
Cross-platform "SDL2+GL" C API. GNU GCC & GNU Makefile for Windows also. VSCode files for Task (compile with Make) and Debug (GDB debugger in VSCode, e.g. breakpoints are considered).## marketplace.visualstudio.com
C/C++ for Visual Studio Code:
https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptoolsMake support and task provider: Extension to run Makefile tasks from VS Code
https://marketplace.visualstudio.com/items?itemName=carlos-algms.make-task-provider## MSYS with MinGW (Windows)
- install MSYS to `C:\msys64` https://www.msys2.org/#installation
- update pacman package manager `pacman -Syu`
- install package gcc compiler: `pacman -S mingw-w64-x86_64-toolchain`
- install package gdb debugger: `pacman -S mingw-w64-x86_64-gdb`
- install package make build: `pacman -S mingw-w64-x86_64-make`
- add to System \ Advanced settings \ Environment Variables \ PATH
* `C:\msys64\mingw64\bin`
* `C:\msys64\usr\bin`## Needed Libraries for MSYS with MinGW (Windows)
- install package SDL2 library: `pacman -S mingw-w64-x86_64-SDL2`
## Ubuntu (maybe Debian also)
- install GCC (compiler tool): `sudo apt install gcc`
- install CMake (make tool): `sudo apt install cmake`
- install SDL2 (media layer): `sudo apt install libsdl2-dev libsdl2-image-dev`
- install OpenGL (graphic layer): `sudo apt install libgl-dev libglu-dev`