With the following code:
#include <GL/glfw.h>
int main() {
glfwInit();
glfwSleep( 1.0 );
glfwTerminate();
}
I'm getting this errors
1>------ Build started: Project: tutorialtry6, Configuration: Debug Win32 ------
1>main.obj : error LNK2019: unresolved external symbol _glfwTerminate referenced in function _main
1>main.obj : error LNK2019: unresolved external symbol _glfwSleep referenced in function _main
1>main.obj : error LNK2019: unresolved external symbol _glfwInit referenced in function _main
1>c:\users\indrajit kurmi\documents\visual studio 2010\Projects\tutorialtry6\Debug\tutorialtry6.exe : fatal error LNK1120: 3 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
I have added opengl32.lib in linker additional dependencies. How do I solve this?
If you know some link of tutorial where they show step by step how to use OpenGL with GLFW please post it.