You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ 25%] Building C object src/CMakeFiles/glfw.dir/null_monitor.c.o
[ 26%] Building C object src/CMakeFiles/glfw.dir/null_window.c.o
[ 27%] Building C object src/CMakeFiles/glfw.dir/null_joystick.c.o
[ 27%] Building C object src/CMakeFiles/glfw.dir/posix_module.c.o
[ 28%] Building C object src/CMakeFiles/glfw.dir/posix_time.c.o
/home/ihep/intro_OpenGL/glfw-3.4/src/posix_time.c: In function ‘_glfwPlatformInitTimer’:
/home/ihep/intro_OpenGL/glfw-3.4/src/posix_time.c:42:31: error: ‘CLOCK_REALTIME’ undeclared (first use in this function)
42 | _glfw.timer.posix.clock = CLOCK_REALTIME;
| ^~~~~~~~~~~~~~
/home/ihep/intro_OpenGL/glfw-3.4/src/posix_time.c:42:31: note: each undeclared identifier is reported only once for each function it appears in
/home/ihep/intro_OpenGL/glfw-3.4/src/posix_time.c:47:9: warning: implicit declaration of function ‘clock_gettime’ [-Wimplicit-function-declaration]
47 | if (clock_gettime(CLOCK_MONOTONIC, &ts) == 0)
| ^~~~~~~~~~~~~
/home/ihep/intro_OpenGL/glfw-3.4/src/posix_time.c:47:23: error: ‘CLOCK_MONOTONIC’ undeclared (first use in this function)
47 | if (clock_gettime(CLOCK_MONOTONIC, &ts) == 0)
| ^~~~~~~~~~~~~~~
gmake[2]: *** [src/CMakeFiles/glfw.dir/posix_time.c.o] Error 1
gmake[1]: *** [src/CMakeFiles/glfw.dir/all] Error 2
gmake: *** [all] Error 2
The text was updated successfully, but these errors were encountered:
[ 25%] Building C object src/CMakeFiles/glfw.dir/null_monitor.c.o
[ 26%] Building C object src/CMakeFiles/glfw.dir/null_window.c.o
[ 27%] Building C object src/CMakeFiles/glfw.dir/null_joystick.c.o
[ 27%] Building C object src/CMakeFiles/glfw.dir/posix_module.c.o
[ 28%] Building C object src/CMakeFiles/glfw.dir/posix_time.c.o
/home/ihep/intro_OpenGL/glfw-3.4/src/posix_time.c: In function ‘_glfwPlatformInitTimer’:
/home/ihep/intro_OpenGL/glfw-3.4/src/posix_time.c:42:31: error: ‘CLOCK_REALTIME’ undeclared (first use in this function)
42 | _glfw.timer.posix.clock = CLOCK_REALTIME;
| ^~~~~~~~~~~~~~
/home/ihep/intro_OpenGL/glfw-3.4/src/posix_time.c:42:31: note: each undeclared identifier is reported only once for each function it appears in
/home/ihep/intro_OpenGL/glfw-3.4/src/posix_time.c:47:9: warning: implicit declaration of function ‘clock_gettime’ [-Wimplicit-function-declaration]
47 | if (clock_gettime(CLOCK_MONOTONIC, &ts) == 0)
| ^~~~~~~~~~~~~
/home/ihep/intro_OpenGL/glfw-3.4/src/posix_time.c:47:23: error: ‘CLOCK_MONOTONIC’ undeclared (first use in this function)
47 | if (clock_gettime(CLOCK_MONOTONIC, &ts) == 0)
| ^~~~~~~~~~~~~~~
gmake[2]: *** [src/CMakeFiles/glfw.dir/posix_time.c.o] Error 1
gmake[1]: *** [src/CMakeFiles/glfw.dir/all] Error 2
gmake: *** [all] Error 2
The text was updated successfully, but these errors were encountered: