While attempting to incorporate shaders for PPL, i think i accidently removed a few includes and now my program wont run even with commenting out all the glsl code and reverting back to my original program.
The errors:
Code :1>main.obj : error LNK2019: unresolved external symbol __imp__glutSwapBuffers@0 referenced in function "void __cdecl drawScene(void)" (?drawScene@@YAXXZ) 1>main.obj : error LNK2019: unresolved external symbol __imp__glutTimerFunc@12 referenced in function "void __cdecl update(int)" (?update@@YAXH@Z) 1>main.obj : error LNK2019: unresolved external symbol __imp__glutPostRedisplay@0 referenced in function "void __cdecl update(int)" (?update@@YAXH@Z) 1>main.obj : error LNK2019: unresolved external symbol __imp__glutMainLoop@0 referenced in function _main 1>main.obj : error LNK2019: unresolved external symbol __imp__glutReshapeFunc@4 referenced in function _main 1>main.obj : error LNK2019: unresolved external symbol __imp__glutKeyboardFunc@4 referenced in function _main 1>main.obj : error LNK2019: unresolved external symbol __imp__glutDisplayFunc@4 referenced in function _main 1>main.obj : error LNK2019: unresolved external symbol __imp__glutCreateWindow@4 referenced in function _main 1>main.obj : error LNK2019: unresolved external symbol __imp__glutInitWindowSize@8 referenced in function _main 1>main.obj : error LNK2019: unresolved external symbol __imp__glutInitDisplayMode@4 referenced in function _main 1>main.obj : error LNK2019: unresolved external symbol __imp__glutInit@8 referenced in function _main 1>C:\Users\Shawn\Documents\New folder\First Project - visual\Light\Debug\Light.exe : fatal error LNK1120: 11 unresolved externals
They appear to be glut errors, but beyond that im not sure.
I tried to backtrack and figure what i did wrong. So i'll name off the things i currently have in my program and whether or not i changed them while trying to get my shader to work.
Includes: (I did remove 1 or 2 that may have caused these errors)
Code :C:\Users\Shawn\Documents\New folder\First Project - visual\Light\Light\glew\include C:\Users\Shawn\Documents\New folder\First Project - visual\Light\Light\cwc\include C:\Users\Shawn\Documents\New folder\First Project - visual\Light\Light\freeglut\include C:\Program Files %28x86%29\Microsoft Visual Studio 10.0\VC\include
Linkers:(Never touched)
Code :SOIL.lib glu32.lib opengl32.lib
And the includes in my program:
Code :#include <stdlib.h> #include <gl/glut.h> #include <SOIL.h> #include <string> #include <iostream>
I would greatly appreciate help!



