I’m using the precompiled GLFW libraries in a Visual Studio 2012 project - the
compiler Version is 11.0.50727.1 RTMREL
First of all, I’d like to ask whether it is normal that i can use the
libraries (which have been created with an older compiler) in the DEBUG
mode, and I only get the following error when building my project in RELEASE
mode:
Error 1 error C1047: The object or library file 'D:\dev\Libraries\lib\GLFW.lib' was created with an older compiler than other objects; rebuild old objects and libraries
?
And my actual question is: How can I compile the library with MSVC 110?
I’ve tried to just open the solution GLFW.sln under /support/msvc100 and
convert that to MSVC 110, but when I try to build, I get a lot of errors. What
should I do?
These are some of the errors:
Error 2 error MSB6003: The specified task executable "link.exe" could not be run. The process cannot access the file 'D:\dev\GLFW\glfw-2.7.6\glfw-2.7.6\support\msvc100\Debug\link.read.1.tlog' because it is being used by another process.
Error 3 error FTK1011: could not create the new file tracking log file: D:\dev\GLFW\glfw-2.7.6\glfw-2.7.6\support\msvc100\Debug\link.write.1.tlog. The file exists.
Error 7 error MSB6003: The specified task executable "CL.exe" could not be run. The process cannot access the file 'D:\dev\GLFW\glfw-2.7.6\glfw-2.7.6\support\msvc100\Debug\cl.read.1.tlog' because it is being used by another process.
Several people have reported issues with GLFW on VC++ 2012. Rather than trying
to convert anything, I built new project files for it that will be included in
GLFW 2.7.7. You can find them in the trunk of the Subversion repository.
Please let me know if they work for you.