Archive
OpenGl Shader Programming: Getting Started
Download “The OpenGL Extension Wrangler Library” and put the files as described there.
Run glewinfo.exe to see if your graphics card supports the Opengl GLSL Shader library.
Try some code, I downloaded the program given my TA.
But there was error coming as
main.obj : error LNK2001: unresolved external symbol __imp____glewGetInfoLogARB
main.obj : error LNK2001: unresolved external symbol __imp____glewGetObjectParameterivARB
main.obj : error LNK2019: unresolved external symbol __imp__glewInit referenced in function “bool __cdecl init(void)” (?init@@YA_NXZ)
main.obj : error LNK2001: unresolved external symbol __imp____glewUniform1i
main.obj : error LNK2001: unresolved external symbol __imp____glewUniform4f
main.obj : error LNK2001: unresolved external symbol __imp____glewGetUniformLocation
main.obj : error LNK2001: unresolved external symbol __imp____glewUseProgram
main.obj : error LNK2001: unresolved external symbol __imp____glewLinkProgram
main.obj : error LNK2001: unresolved external symbol __imp____glewAttachShader
main.obj : error LNK2001: unresolved external symbol __imp____glewCreateProgram
main.obj : error LNK2001: unresolved external symbol __imp____glewCompileShader
main.obj : error LNK2001: unresolved external symbol __imp____glewShaderSource
main.obj : error LNK2001: unresolved external symbol __imp____glewCreateShader
Debug/test2.exe : fatal error LNK1120: 13 unresolved externals
To resolve this error I searched on the internet and found this
http://www.gamedev.net/community/forums/topic.asp?topic_id=472791
“Expand Configuration Properties>Linker>Input
add glew32.lib (for example) to the Additional Dependencies box.” by Matthughes
Installing Glut in Visual Studio .net 2003
http://csf11.acs.uwosh.edu/cs371/visualstudio/
This is very good link having step by step information about how to install the GLUT on Visual Studio