Click here to Skip to main content
15,888,610 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how do i deal with this error?

C++
>LINK : fatal error LNK1181: cannot open input file '..\..\..\..\lib\vc9\h264v2d.lib'
Posted
Updated 25-Mar-20 7:47am
v2

 
Share this answer
 
Comments
Niklas L 19-Jul-10 6:29am    
Solving it is indeed a good way of handling it :)
The linker is telling you that it is not able to locate a library that your project requires to link to.
The library path is relative, so the linker will search it first as a path relative to your project location and then as a path relative to each one of the library directories (as specified in Tools -> Options -> Projects and Solutions -> VC++ Directories -> Library files).
You should check these paths for the library... This is all that we can say from the informations you give us.
 
Share this answer
 
In my case I did not choose Projects and Solutions -> VC++ Directories -> Library files. Instead I chose Linker -> Input -> Additional Dependencies to input the path to the lib file, and then I also had to ensure the build order was correct so I right-clicked the project, and choose Build dependencies -> Project dependencies to ensure that the dependent project was built before the project that required that library was built.
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900