nanogui icon indicating copy to clipboard operation
nanogui copied to clipboard

GLFW Error 65544 when running in Windows

Open MattWright481516 opened this issue 6 years ago • 0 comments

Description

Myself and a co-worker are encountering an error when running both a custom GUI and example2.py on Windows. The error appears as two different messages that appear in the console. They appear repeatedly, but at seemingly random intervals (ie. perhaps we will see a burst of one or the other, a pause, a few more, etc).

Errors

The two errors are:

GLFW error 65544: WGL: Failed to make context current: The requested transformation operation is not supported. GLFW error 65544: WGL: Failed to make context current: The handle is invalid.

We found that this is being encountered in a call to _glfwInputErrorWin32, which is itself called in makeContextCurrentWGL in ext/glfw/src/wgl_context.c. The portion of the error code that is common to both error messages is written in the file listed. The latter portion is a Win32-specific error.

Environment

We have built NanoGUI from scratch in Windows using CMake configured with:

cmake -G "Visual Studio 16 2019" -A x64

MattWright481516 avatar Oct 17 '19 13:10 MattWright481516