我在配置glfw库的过程中,首先下载了
,
然后打开后
,
之后我将文件夹include中的glfw3.h放入了VS2015/VC/include/gl文件夹中,将lib-vc2015中的glfw3.dll放入系统文件夹windows/system32和sysWOW64中,将glfw3dll.lib还有glfw3.lib放入VS2015/VC/lib中,然后运行了这段代码
#include <gl/glfw3.h>
int main(void)
{
GLFWwindow* window;
/* Initialize the library */
if (!glfwInit())
return -1;
/* Create a windowed mode window and its OpenGL context */
window = glfwCreateWindow(640, 480, "Hello World", NULL, NULL);
if (!window)
{
glfwTerminate();
return -1;
}
/* Make the window's context current */
glfwMakeContextCurrent(window);
/* Loop until the user closes the window */
while (!glfwWindowShouldClose(window))
{
/* Render here */
/* Swap front and back buffers */
glfwSwapBuffers(window);
/* Poll for and process events */
glfwPollEvents();
}
glfwTerminate();
return 0;
}
可是却得到提示
请问应该怎么办啊