LINK : fatal error LNK1104: cannot open file 'MSVCRTD.lib'

前端 未结 19 3262
耶瑟儿~
耶瑟儿~ 2020-12-09 03:04

I\'m a novice C++ developer. I encontered the error message indicates \"LINK :fatal error LNK1104: cannot open file \'MSVCRTD.lib\'\" while I\'m trying to debug every single

19条回答
  •  隐瞒了意图╮
    2020-12-09 03:40

    In VS2017 (Community/Enterprise/Ultimate/Professional):

    Add the path(s) of the folder(s) which include your desired ".lib" file(s) in the following path in VS:

    (Right Click)Project(in Solution Explorer)->Properties->Configuration Properties->Linker->General->Additional Library Directories

    If there are more than one ".lib" file use ';' to separate them otherwise click on the edit box corresponds to "Additional Library Directories" then click on "" in drop down menu and add all desired ".lib" files in newly opened window one by one and in a easy to handle manner.

提交回复
热议问题