How to find msvcprtd.lib


  • how do I solve this problem: LINK : fatal error LNK1104: cannot open file 'msvcprtd.lib'
    Monday, February 22, 2016 10:27 PM


  • Hi Big Charles,

    According to the error message, is your project a C++ project? Please tell us when do you get this error and how can we reproduce this problem?

    Please created a new project and then move the original project files one by one to the new projects to make sure which file causes this issue. Then add the code line by line in that file to confirm which line of code causes this problem.

    In addition, please check the path of msvcprtd.lib file in your file system and then add the path to Configuration Properties -> Linker -> General -> additional Library Directories -> the path of msvcprtd.lib.

    The path should be in C:\Program Files\your Visual Studio version\VC\lib

    Best Regards,

    Tuesday, February 23, 2016 7:29 AM