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

1

There are 1 answers

1
Ram Kishore On

I had a similar issue while using cURL for HTTP methods. UWP app with a C++ library in which cURL methods were implemented. The same cannot open file "LIBCMTD.lib" issue came up.

This solution by @thomas kim worked for me.

Project Properties -> Configuration Properties -> Linker -> General -> Additional Library Directories and add the path: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64