Visual Studio 2012 C++ OpenGL GLFW linker error [duplicate]
问题 This question already has answers here : What is an undefined reference/unresolved external symbol error and how do I fix it? (32 answers) Closed 12 days ago . I am making a 2d side-scroller in C++ using OpenGL on Visual Studio 2010 Express. I am trying to compile my code, and it builds properly, but I get linker errors for the GLFW functions I am initializing in the main() function. Here is my code: #include <iostream> #include <ctime> #include <GL\glfw.h> #include "Player.h" void render();