Nuklear icon indicating copy to clipboard operation
Nuklear copied to clipboard

err at demo\glfw_opengl2\file_browser.c

Open QingruiHuang opened this issue 3 years ago • 0 comments

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; | ^~~

QingruiHuang avatar Jul 11 '22 02:07 QingruiHuang