GLFW - Failed To Open A Window

时间秒杀一切 提交于 2019-11-30 11:14:53
John Chadwick

You need to link to opengl32.lib.

For that, as pictured below, go to Project Setting and then Linker > input > Additional Dependencies and add opengl32.lib there (use ; to separate different libs).

Note that you don't actually need to have opengl32.lib file anywhere. Visual Studio knows where to find it.

Edit: I should note that you don't need to do anything except adding opengl32.lib. That other stuff is irrelevant. Additionally, if both are present, try swapping the order, which matters in some cases.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!