hmm I tried that to no success.
Basically I am >
Installing fresh SFML2.0 on my project, run test code all compiles and runs the window fine with blue colour.
Add your light addon to the project, attach it to my project and include it, I type ltbl:: to make sure its linked as all the functions pop up.
Download Glew 1.7.0 (NewestVersion) and put it in C:\
go to my Project Properties > Include Directories and add
C:\glew\include
then in library directories add
C:\glew\lib
then go to additional dependencies and add
glew32mx.lib
glew32.lib
Run the project, compiles all your code correctly then I get
1>Constructs.obj : error LNK2001: unresolved external symbol __imp__glEnd@0
1>Constructs.obj : error LNK2001: unresolved external symbol __imp__glBegin@4
1>Constructs.obj : error LNK2001: unresolved external symbol __imp__glVertex3f@12
1>Light.obj : error LNK2001: unresolved external symbol __imp__glClearDepth@8
1>Light.obj : error LNK2001: unresolved external symbol __imp__glDepthFunc@4
1>Light.obj : error LNK2001: unresolved external symbol __imp__glOrtho@48
1>Light.obj : error LNK2001: unresolved external symbol __imp__glColor4f@16
1>Light.obj : error LNK2001: unresolved external symbol __imp__glMatrixMode@4
1>Light.obj : error LNK2001: unresolved external symbol __imp__glViewport@16
1>Light.obj : error LNK2001: unresolved external symbol __imp__glEnable@4
1>Light.obj : error LNK2001: unresolved external symbol __imp__glLoadIdentity@0
1>LightSystem.obj : error LNK2001: unresolved external symbol __imp__glClear@4
1>LightSystem.obj : error LNK2001: unresolved external symbol __imp__glColor4b@16
1>LightSystem.obj : error LNK2001: unresolved external symbol __imp__glColorMask@16
1>LightSystem.obj : error LNK2001: unresolved external symbol __imp____glewBlendFuncSeparate
1>LightSystem.obj : error LNK2001: unresolved external symbol __imp__glDisable@4
1>LightSystem.obj : error LNK2001: unresolved external symbol __imp__glPopMatrix@0
1>LightSystem.obj : error LNK2001: unresolved external symbol __imp__glPushMatrix@0
1>LightSystem.obj : error LNK2001: unresolved external symbol __imp__glBlendFunc@8
1>LightSystem.obj : error LNK2001: unresolved external symbol __imp__glScalef@12
1>LightSystem.obj : error LNK2001: unresolved external symbol __imp__glTexCoord2i@8
1>LightSystem.obj : error LNK2001: unresolved external symbol __imp__glTranslatef@12
1>SFML_OpenGL.obj : error LNK2001: unresolved external symbol __imp__glewInit
1>D:\C++\SFML\SFML2.0Test\Release\SFML2.0Test.exe : fatal error LNK1120: 23 unresolved externals