Update from VS2010 C++ to VS2017 get Link 1104 error, can’t find MSVCURT.lib

  • Thread starter Thread starter CP Hager
  • Start date Start date
C

CP Hager

Guest
NO NORMAL CUT AND PASTE AVAILABLE?? I've used the insert code to state the problem.
I developed a program 9-10 years ago for the Navy using VS2005. While I’ve gone on to better and greater things, I’ve been called upon at various times to maintain/modify this software. One of the last times was in 2012 using VS2010. I’ve just recently been called on to investigate adding some modifications. We now have VS2017. I was able to right click on the solution to convert it into a form that VS2017 could handle but when I attempted to compile, I got the error in the subject line. It seems that there is a problem updating a “.vcxproj” file.
I did a search and MSVCURT.lib does exist, so one problem must be telling the compiler where it is.

The SDK Version is 10.0.17134.0. Platform toolset is v141.

In various searches, I came across the following piece of info:

msvcurt.lib
Deprecated Static library for the pure managed CRT.
/clr:pure

msvcurtd.lib
Deprecated Static library for the Debug version of the pure managed CRT. Not redistributable.
/clr:pure

Wonderful. What do I do about this?

Some things I’ve tried unsuccessfully:
(1) Go into project properties and linker. Select additional library directories and inherit from parent or project defaults. RESULT – nothing.
(2) Looked at compiler options but couldn’t figure out which options I should change.

Basic problem is clearly that VS2017 is not backward compatible with VS2010.

Machine I’m using is on Navy RTD&E (research development test & evaluation) system. I have only user privileges. If anything needs to be downloaded or the like, I have to work through the IT people.

If one were steeped in all of the intricacies of the Visual Studio C++ family of software for the past 10 years or so, it might be possible to figure this out. I’m not.

Help appreciated.

Continue reading...
 
Back
Top