glfwInit returns 0, but when creating window, error callback returns GLFW_NOT_INITIALIZED

Found the error!
it was X11 error. the DISPLAY environment variable is missing

thank you!