开发者

glew32.dll run time error

开发者 https://www.devze.com 2022-12-12 05:25 出处:网络
I successfully compiled my OpenGL program in MSVC 2008, But I am getting a Run time error as follows \"This application has failed to start because glew32.dll was not found. Re-installing the applic

I successfully compiled my OpenGL program in MSVC 2008, But I am getting a Run time error as follows

"This application has failed to start because glew32.dll was not found. Re-installing the application may fix this proble开发者_JAVA百科m."


I have no idea how you managed to link the object files without the GLEW .lib file. Have you downloaded the GLEW library and put the .DLL file in the wrong place, perhaps? The .DLL file should be in the same directory as your OpenGL application that uses it, or in your Windows directory.

Also note that if you launch the application from within Visual Studio, it looks for the .DLL files in the project directory instead of the release/debug directories.


Try putting the file glew32.dll into the same directory as the binary exe that you compiled.

0

精彩评论

暂无评论...
验证码 换一张
取 消