Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

OpenGL: How to compile glew32.dll from source file

Tags:

opengl

glew

I download the glew source file from http://glew.sourceforge.net/. In the readme file, it says I should use \build\vc6.0\glew.dsw to comple the DLL. But there are four projects after I open it in VS 2010. When I compile them, 2 of them failed to compile.

Thanks.

like image 941
NoviceCai Avatar asked Feb 26 '23 08:02

NoviceCai


1 Answers

Ok. I figured it out. Just open the the file in glew.dsw in VS 2010. There are four projects. Compile glew_shared, you will get glew32d.dll. Compile glew_static, you will get glew32d.lib.

just ignore the other two.

glew32d.dll and glew32d.lib works fine in VS 2010.

This also answer my own question in

Glew in VS 2010: unresolved external symbol __imp__glewInit

like image 140
NoviceCai Avatar answered Mar 07 '23 21:03

NoviceCai