1>main.obj : error LNK2001: unresolved external symbol __imp____glewAttachShader
1>main.obj : error LNK2001: unresolved external symbol __imp____glewCreateProgram
1>main.obj : error LNK2001: unresolved external symbol __imp____glewShaderSource
1>main.obj : error LNK2001: unresolved external symbol __imp____glewCreateShader
解决办法:
In case anyone runs into the same problem: In VC++, click View>Propery Pages... Expand Configuration Properties>Linker>Input add glew32.lib (for example) to the Additional Dependencies box.