错误 LNK1104 libcpmtd.lib [英] error LNK1104 libcpmtd.lib

查看:52
本文介绍了错误 LNK1104 libcpmtd.lib的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在 VS2015 预览版中编译一个项目,&我收到错误 LNK1104,找不到 libcpmtd.lib.我正在使用 Windows 7,&编译多线程调试.

I am trying to compile a project in VS2015 preview, & am getting an error LNK1104, can't find libcpmtd.lib. I'm using windows 7, & compiling Multi-threaded debug.

有人遇到过这个问题吗?

anyone run into this issue?

推荐答案

我在使用 gtest 构建项目时遇到了同样的问题.我认为这是 VS 2015 的错误... :-)将库目录添加到您的项目设置中,就我而言,C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\lib".这个对我有用.祝你好运!

I had a same problem while building my project with gtest. I think it is a VS 2015 bug... :-) Add the library directory to your project settings, in my case, "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\lib". It works for me. Good luck!

这篇关于错误 LNK1104 libcpmtd.lib的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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