[UWP] C ++运行时组件(通用Windows)项目构建错误“LINK:致命错误LNK1104:无法打开文件'LIBCMT.lib'" [英] [UWP]C++ Runtime component(Universal Windows) project build error "LINK : fatal error LNK1104: cannot open file 'LIBCMT.lib'"

查看:216
本文介绍了[UWP] C ++运行时组件(通用Windows)项目构建错误“LINK:致命错误LNK1104:无法打开文件'LIBCMT.lib'"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了C ++ Runtime组件(通用Windows)项目,该项目引用了libyuv.lib(谷歌库)。在我为x64设置引用和构建之后,我收到错误"LINK:致命错误LNK1104:无法打开文件'LIBCMT.lib'"。
但是在另一个可视化C ++控制台项目(win 32)中,我将相同的引用设置为libyuv.lib库。有用。请帮我解决问题。任何帮助/评论都将受到高度赞赏。谢谢。  


Josh

解决方案

嗨Josh Pi,


如果UWP支持libyuv.lib,请尝试检查它。 Win32应用程序与UWP应用程序不同,如果Win 32支持libyuv.lib,则并不意味着它将在UWP中受支持。


如果UWP不支持它我们不能在UWP中使用它。 



最好的问候,


Jayden Gu


I create C++ Runtime component(Universal Windows) project which a  reference to libyuv.lib (a google library). After I set the reference and build for x64, and I got an error "LINK : fatal error LNK1104: cannot open file 'LIBCMT.lib'". But In another visual C++ console project (win 32), I set the same reference to libyuv.lib library. It works. Please help me resolve the issue. Any help/comment will be highly appreciated. Thanks.  

Josh

解决方案

Hi Josh Pi,

Please try to check the libyuv.lib that if it is supported in UWP. The Win32 app is different from the UWP app, if libyuv.lib is supported in Win 32, it does not mean it will be supported in UWP.

If it is not supported in UWP that we can not use it in UWP. 

Best Regards,

Jayden Gu


这篇关于[UWP] C ++运行时组件(通用Windows)项目构建错误“LINK:致命错误LNK1104:无法打开文件'LIBCMT.lib'"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆