Immediate-Mode-UI / Immediate-Mode-UI/Nuklear
err at demo\glfw_opengl2\file_browser.c
- Dominant language
- C
- Stars
- 11.4k
- Forks
- 686
- Avg merge
- 4d 1h
- Merged PRs (30d)
- 3
Description
Msys2 + glwf3.3
#if 1//def INCLUDE_FILE_BROWSER
#include "../../demo/common/file_browser.c"
#endif
err:
../../demo/common/file_browser.c:115:55: error: 'GL_CLAMP_TO_EDGE' undeclared (first use in this function)
115 | glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);
../../demo/common/file_browser.c: In function 'dir_list':
../../demo/common/file_browser.c:168:11: error: unknown type name 'DIR'
168 | const DIR *none = NULL;
| ^~~
../../demo/common/file_browser.c:171:5: error: unknown type name 'DIR'
171 | DIR *z;
| ^~~
Contributor guide
Research direction
Start with demo\common\file_browser.c at lines 115 and 168-171, then inspect the demo\glfw_opengl2 build and its included platform headers. Reproduce the MSYS2 GLFW 3.3 compilation errors and determine the project-compatible fix for the missing OpenGL constant and DIR type; done means this demo compiles successfully in that environment.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100