Reputation: 117
Hi I am working on a visual studio c++ project started on visual studio 2012, I have to adjust this project and add new functionalities, my problem is that when I try to build I get the following ERROR "LNK1104 cannot open file MSVCURTD.lib".
Could you please tell me how to fix this error and why do I get it?!? Furthermore could please explain me what is MSVCURTD.lib
P.S I am using visual studio community 2017 Thanks for your help it's driving me crazy :-(
Upvotes: 1
Views: 1661
Reputation: 1
I had the same issue on VS2022, when trying to compile the same project after a re-installed version of VS2022. The solution was to remove msvcurtd.lib as deprecated. I know it's crazy but it works for me.
Upvotes: 0
Reputation: 57
I had the same problem using VS 2017.
In my case changing the 'Common Language RunTime Support' from /clr:pure to /clr solved the issue.
Upvotes: 4