Visual Studio: LINK : fatal error LNK1181: cannot open input file

后端 未结 17 2831
盖世英雄少女心
盖世英雄少女心 2020-12-05 03:47

I\'ve been encountering a strange bug in Visual Studio 2010 for some time now.

I have a solution consisting of a project which compiles to a static library, and anot

17条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-05 04:35

    I solved it with the following:

    Go to View-> Property Pages -> Configuration Properties -> Linker -> Input

    Under additional dependencies add the thelibrary.lib. Don't use any quotations.

提交回复
热议问题