cocos2dx 3.x版本 运行失败,glview初始化失败

错误提示0x00F525F5 处有未经处理的异常(在 GoodDay.exe 中): 0xC0000005: 读取位置 0x000001E8 时发生访问冲突。
代码定位到

bool GLView::initWithRect(const std::string& viewName, Rect rect, float frameZoomFactor)
{
    setViewName(viewName);
 
    _frameZoomFactor = frameZoomFactor;
 
    glfwWindowHint(GLFW_RESIZABLE,GL_FALSE);
 
    _mainWindow = glfwCreateWindow(rect.size.width * _frameZoomFactor,
                                   rect.size.height * _frameZoomFactor,
                                   _viewName.c_str(),
                                   _monitor,
                                   nullptr);
    glfwMakeContextCurrent(_mainWindow);
 
    glfwSetMouseButtonCallback(_mainWindow, GLFWEventHandler::onGLFWMouseCallBack);
    glfwSetCursorPosCallback(_mainWindow, GLFWEventHandler::onGLFWMouseMoveCallBack);


```

debug下_mainWindow是NULL的,glfwSetMouseButtonCallback会失败

装下显卡驱动就好了!

应该不是显卡驱动的问题,这个问题也困扰我很久了,一直没能解决,我一以前有个项目,是在别的电脑上建的,拿到现在的电脑上正常运行,但是新建项目总是出现这个问题。。。。

多谢,更新下网卡驱动就好了(驱动精灵现在也太流氓了。。。。)

我更新了网卡驱动就好了