First I set my project to actually build 64 bit code. In the Properties section I selected Active(x64)
Then I modified the value of Common Language Runtime Support option selected from /Clr to No Common Runtime Support
I also had a calling convention setting of __cdecl /(Gd), which I changed to __stdcall(/Gz)
After these changes, apparently, the tutorial worked.
I still don’t understand what using cmake does with regard to generating required glfw files. The source code that is downloaded does not seem to have the code required to build the *.lib files or *.dll, which is what I was trying to do to get my tutorial to work.
I’m trying to link in glfw3.lib into my VS2013/64 project. I’m getting these two link errors
1>glfw3.lib(init.obj) : error LNK2019: unresolved external symbol __imp_vsnprintf referenced in function _glfwInputError
1>glfw3.lib(monitor.obj) : error LNK2019: unresolved external symbol __imp__strdup referenced in function _glfwCreateMonitor
I’ve found that VS2013 likes all libs to be compiled for debug if the project is. It doesn’t like it mixed with release and debug libs. VS2008 didn’t seem to care.
Do you think I should build a debug glfw3.lib? I tried your solution above and still got the same link errors.