GLFW fails to create context

Discussion in 'Windows Virtual Machine' started by remi1, Apr 11, 2023.

  1. remi1

    remi1 Bit poster

    I am currently trying out Parallels for having a Windows 11 dev to code my currently Windows only application while on vacation and my own laptop being in repair having to fall back on my mums Mac book. I am writing an application using GLFW and I have run the code successfully on my own Windows 10 PC, but ran into an issue on the Windows 11 VM.

    GLFW fails to create an OpenGL context and using an error callback I narrowed it down to this error: [65544] WGL: Failed to retrieve pixel format attributes: The operation completed successfully.

    I've tried the following to fix the issue:
    - Change the glad loader
    - Change the OpenGL hints and version hints including checking the supported versions using glcapsviewer
    - Launch the VM using video.gl3=0
    - Download random sample code removing all program logic and tried running a bare bones GLFW application in my project

    I know this error could be my fault and I could be doing something very wrong here, but I have been trying to get to the root of this for almost two days now and I have made almost no progress.

    Thank you for taking the time to read this c:

Share This Page