error LNK1104 libcpmtd.lib

此生再无相见时 提交于 2019-12-23 03:04:00

问题


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?


回答1:


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!




回答2:


In my case, the problem was that I had the Platform Toolset under Project->Properties->General set to Visual Studio2013 (v120). Changed it to Visual Studio 2015 (v140) and it worked fine. Hope it helps :)



来源:https://stackoverflow.com/questions/29269203/error-lnk1104-libcpmtd-lib

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!