Immediate-Mode-UI / Immediate-Mode-UI/Nuklear
Wrong include paths in SDL2 examples
Open
- Dominant language
- C
- Stars
- 11.4k
- Forks
- 686
- Avg merge
- 4d 1h
- Merged PRs (30d)
- 3
Description
Includes for SDL2 headers should be without the SDL2 directory itself, `sdl2-config --cflags` returns the correct include directory. I noticed this when I added this repository as a submodule and tried including the examples in my own project. I don't use the system installed SDL2, so it fails to include.
Contributor guide
Research direction
Start by locating the SDL2 examples and inspect their SDL2 header include paths alongside the include directory returned by `sdl2-config --cflags`. Done means the examples use paths compatible with a submodule setup without requiring system-installed SDL2 headers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100