I'm trying to mimic the shader used in opengl.org website http://www.opengl.org/sdk/docs/tutor...s/lighting.php , but i only got so far as declaring the following object:
Code :cwc::glShaderManager SM;
when i got these errors:
Code :error LNK2001: unresolved external symbol "public: __thiscall cwc::glShaderManager::glShaderManager(void)" 0glShaderManager@cwc@@QAE@XZ"]??0glShaderManager@cwc@@QAE@XZ) error LNK2001: unresolved external symbol "public: virtual __thiscall cwc::glShaderManager::~glShaderManager(void)" 1glShaderManager@cwc@@UAE@XZ"]1glShaderManager@cwc@@UAE@XZ)
I included all the necessary includes exactly the same as the project on the website has it. I don't know why im getting linker errors when i never added any shader linkers, and this is because the project on the website didnt have any shader linkers.
My linkers are this:
Code :SOIL.lib opengl32.lib glu32.lib glut32.lib
How can i solve these errors?