LWJGL Forum

Programming => Bug Reports / RFE => Topic started by: Dragonfly on October 11, 2015, 15:17:04

Title: windows 10上创建GLFW窗口
Post by: Dragonfly 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 (https://github.com/SilverTiger/lwjgl3-tutorial/blob/master/src/silvertiger/tutorial/lwjgl/Introduction.java)
Run to the:
        /* Create window */
        window = glfwCreateWindow(640, 480, "Simple example", NULL, NULL);

error:
[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)

å¸Å'æÅ"›å¾â€"到你的解答 谢谢^_^
Title: Re: windows 10上创建GLFW窗口
Post by: spasi 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.
Title: Re: windows 10上创建GLFW窗口
Post by: Dragonfly on October 11, 2015, 16:12:44
Quote from: spasi 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.
Is the latest
---------------------------
    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
Title: Re: windows 10上创建GLFW窗口
Post by: spasi on October 11, 2015, 19:14:18
Try using glfwWindowHint to specify the OpenGL version explicitly.
Title: Re: windows 10上创建GLFW窗口
Post by: Dragonfly on October 13, 2015, 07:54:00
Quote from: spasi on October 11, 2015, 19:14:18
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