📌  相关文章
📜  1>LINK : 致命错误 LNK1104: 无法打开文件 'glfw3.lib' - 无论代码示例

📅  最后修改于: 2022-03-11 14:58:53.459000             🧑  作者: Mango

代码示例1
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