Answers for "1>LINK : fatal error LNK1104: cannot open file 'glfw3.lib'"

0

1>LINK : fatal error LNK1104: cannot open file 'glfw3.lib'

lib-vc2019 is not a .lib file, it is a directory. 
Tell the linker about it with Project > Properties > Linker > General, 
"Additional Library Directories" setting so it now can find glfw3.lib. 
The other linker errors you see after it now being able to locate the library
are caused by glfw3.lib being built with compile options that do not match 
your project. Project > Properties > C/C++ > Code Generation, "Runtime 
Library" setting. /MT is not appropriate here, it is only suitable for small 
programs that don't use libraries. – Hans Passant
Posted by: Guest on October-26-2021

Code answers related to "1>LINK : fatal error LNK1104: cannot open file 'glfw3.lib'"

Browse Popular Code Answers by Language