gpt4 book ai didi

opengl - glew32.dll 运行时错误

转载 作者:行者123 更新时间:2023-12-04 03:19:10 26 4
gpt4 key购买 nike

我在 MSVC 2008 中成功编译了我的 OpenGL 程序,但是我收到如下运行时错误

"This application has failed to start because glew32.dll was not found. Re-installing the application may fix this problem."

最佳答案

我不知道您是如何设法在没有 GLEW .lib 文件的情况下链接目标文件的。您是否下载了 GLEW 库并将 .DLL 文件放在了错误的位置? .DLL 文件应与使用它的 OpenGL 应用程序位于同一目录中,或者位于 Windows 目录中。

另请注意,如果您从 Visual Studio 中启动应用程序,它会在项目目录而不是发布/调试目录中查找 .DLL 文件。

关于opengl - glew32.dll 运行时错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1794344/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com