LINK: fatal error LNK1104: can not open file "XXXXX.lib" solution

1. First, we began as a configuration repository directory contains
Here Insert Picture Description

2. We find the lack of XXXX.lib determine the corresponding directory

3. Then Linker - Input - Additional Dependencies, we enter the full name of the lib file. ( This step is added according to the actual situation )
Here Insert Picture Description
and then compile link.

The main principle analysis:
1. error prompt can not find the lib, may be the most prone to look at the online tutorials and inconsistent with their own version of vs, so here we have to change. 2. There may be a lot of people with a lot of dependencies, but lib, only this one, of course, can not find it.

Published an original article · won praise 0 · Views 18

Guess you like

Origin blog.csdn.net/u012813485/article/details/104759310