This
#include "glfw3.h"
int main(){
glfwInit();
}
Did nothing.
However this
#pragma comment(lib, "C:/Users/Aaron/Documents/Visual Studio 2013/Projects/Project5/Project5/glfw-3.1.1.bin.WIN64/lib-vc2013/glfw3.lib")
#include "glfw-3.1.1.bin.WIN64\include\GLFW\glfw3.h"
int main() {
glfwInit();
}
definitely did something.
I had to switch from backslashes like this
#pragma comment(lib, "C:\Users\Aaron\Documents\Visual Studio 2013\Projects\Project5\Project5\glfw-3.1.1.bin.WIN64\lib-vc2013\glfw3.lib")
to forward slashes like this.
#pragma comment(lib, "C:/Users/Aaron/Documents/Visual Studio 2013/Projects/Project5/Project5/glfw-3.1.1.bin.WIN64/lib-vc2013/glfw3.lib")
inorder to resolve these errors.
1>------ Build started: Project: Project5, Configuration: Debug x64 ------
1> main.cpp
1>main.cpp(1): warning C4129: 'A' : unrecognized character escape sequence
1>main.cpp(1): warning C4129: 'D' : unrecognized character escape sequence
1>main.cpp(1): warning C4129: 'V' : unrecognized character escape sequence
1>main.cpp(1): warning C4129: 'P' : unrecognized character escape sequence
1>main.cpp(1): warning C4129: 'g' : unrecognized character escape sequence
1>main.cpp(1): warning C4129: 'l' : unrecognized character escape sequence
1>LINK : fatal error LNK1104: cannot open file 'C:UsersAaronDocumentsVisual Studio 2013ProjectsProject5Project5glfw-3.1.1.bin.WIN64lib-vc2013glfw3.lib'
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
But after I switched from backslashes to forward slashes I got these errors.
1>------ Build started: Project: Project5, Configuration: Debug x64 ------
1> main.cpp
1>LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library
1>glfw3.lib(window.c.obj) : error LNK2019: unresolved external symbol __imp_glClear referenced in function glfwCreateWindow
1>glfw3.lib(wgl_context.c.obj) : error LNK2019: unresolved external symbol __imp_wglCreateContext referenced in function _glfwCreateContext
1>glfw3.lib(wgl_context.c.obj) : error LNK2019: unresolved external symbol __imp_wglDeleteContext referenced in function _glfwDestroyContext
1>glfw3.lib(wgl_context.c.obj) : error LNK2019: unresolved external symbol __imp_wglGetProcAddress referenced in function _glfwPlatformGetProcAddress
1>glfw3.lib(wgl_context.c.obj) : error LNK2019: unresolved external symbol __imp_wglMakeCurrent referenced in function _glfwPlatformMakeContextCurrent
1>glfw3.lib(wgl_context.c.obj) : error LNK2019: unresolved external symbol __imp_wglShareLists referenced in function _glfwCreateContext
1>glfw3.lib(context.c.obj) : error LNK2019: unresolved external symbol __imp_glGetIntegerv referenced in function _glfwRefreshContextAttribs
1>glfw3.lib(context.c.obj) : error LNK2019: unresolved external symbol __imp_glGetString referenced in function glfwExtensionSupported
1>c:\users\aaron\documents\visual studio 2013\Projects\Project5\x64\Debug\Project5.exe : fatal error LNK1120: 8 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Not sure if that's progress but it could be