Ale61268967
Ale61268967

Reputation: 117

c++ visual studio LNK1104 cannot open file MSVCURTD.lib

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

Answers (2)

MarcoC
MarcoC

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

Michael
Michael

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

Related Questions