LIB is for the linker, helps it find import and static libraries.
LIBPATH is for the compiler, helps it find metadata files. Like type libraries, .NET assemblies, WinRT .winmd files.
PS:如果编译时提示找不到元数据文件,则需要设置好 LIBPATH ,如果提示找不到库文件,则需要设置好 LIB 和编译选项卡中的输入列表
————————————————
版权声明:本文为CSDN博主「ykun089」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/ykun089/article/details/108660111