https://github.com/rdbo/sdl2-project-template
SDL2 Project Template for Windows and Linux
https://github.com/rdbo/sdl2-project-template
application gui linux sdl2 template windows
Last synced: 2 months ago
JSON representation
SDL2 Project Template for Windows and Linux
- Host: GitHub
- URL: https://github.com/rdbo/sdl2-project-template
- Owner: rdbo
- Created: 2020-04-18T01:40:10.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-28T21:19:51.000Z (almost 6 years ago)
- Last Synced: 2025-03-13T22:43:12.808Z (over 1 year ago)
- Topics: application, gui, linux, sdl2, template, windows
- Language: C
- Homepage:
- Size: 6.91 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SDL2-Project-Template
SDL2 Project Template for Windows and Linux
# How to update SDL2 binaries for Windows
Source: https://forums.libsdl.org/viewtopic.php?t=9634
1. "Change the SDL2 and SDL2main project settings to use /MT (/MTd for debug) under C++ > Code Generation > Runtime Library. "
2. "Change the SDL2 configuration to Static Library under General > Configuration Type."
3. Add the linker dependencies: version.lib, imm32.lib, winmm.lib, Setupapi.lib
4. Add "#define HAVE_LIBC" on the top of the file SDL_config.windows.h
# How to update SDL2 binaries for Linux
1. Run the following command on a shell:
```Shell
sudo apt install libsdl2
```