Hello Guest

windows 10上创建GLFW窗口

  • 4 Replies
  • 15334 Views
windows 10上创建GLFW窗口
« on: October 11, 2015, 15:17:04 »
大家好:
OS : Windows 10 X64
LWJGL ver : build #3.0.0b build 35
https://github.com/SilverTiger/lwjgl3-tutorial/blob/master/src/silvertiger/tutorial/lwjgl/Introduction.java
Run to the:
Code: [Select]
        /* Create window */
        window = glfwCreateWindow(640, 480, "Simple example", NULL, NULL);
error:
Code: [Select]
[LWJGL] GLFW_API_UNAVAILABLE error
Description : WGL: The driver does not appear to support OpenGL
Stacktrace  :
org.lwjgl.glfw.GLFW.nglfwCreateWindow(GLFW.java:1146)
org.lwjgl.glfw.GLFW.glfwCreateWindow(GLFW.java:1227)
yorkie.Introduction.main(Introduction.java:64)
希望得到你的解答 谢谢^_^

*

Offline spasi

  • *****
  • 2261
    • WebHotelier
Re: windows 10上创建GLFW窗口
« Reply #1 on: October 11, 2015, 15:21:23 »
Do other OpenGL applications work for you? Make sure you have installed a recent version of your GPU drivers.

Re: windows 10上创建GLFW窗口
« Reply #2 on: October 11, 2015, 16:12:44 »
Do other OpenGL applications work for you? Make sure you have installed a recent version of your GPU drivers.
Is the latest
Code: [Select]
---------------------------
    GLEW Extension Info
---------------------------

GLEW version 1.13.0
Reporting capabilities of pixelformat 3
Running on a Intel(R) HD Graphics from Intel
OpenGL version 2.1.0 - Build 8.15.10.2900 is supported
GL_VERSION_3_1:                                                OK

*

Offline spasi

  • *****
  • 2261
    • WebHotelier
Re: windows 10上创建GLFW窗口
« Reply #3 on: October 11, 2015, 19:14:18 »
Try using glfwWindowHint to specify the OpenGL version explicitly.

Re: windows 10上创建GLFW窗口
« Reply #4 on: October 13, 2015, 07:54:00 »
Try using glfwWindowHint to specify the OpenGL version explicitly.
试过还是不行。
我猜测是驱动问题,毕竟我的是第一代I3集成显卡,我使用win7程序又正常运行了
Machine translation:
Try or not.
My guess is that driver problem, after all, I was the first generation of I3 integrated graphics, I use Windows 7 program running normally again ;D