LINK : fatal error LNK1181: cannot open input file '..\..\lib\Release\opencv_core290.lib'

asked 2013-07-29 05:22:04 -0500

aostaz gravatar image

i try to create opencv 2.4.6 libaraty to visual studio 2110.i follow the instructions in http://docs.opencv.org/doc/tutorials/introduction/windows_install/windows_install.html#windows-installation. when I make build to allbuild of opencv solution ,ihe build failed and I have this eror :LINK : fatal error LNK1181: cannot open input file '....\lib\Release\opencv_core290 please chelp me

edit retag flag offensive close merge delete

Comments

you're trying to build from src ?

it seems, you picked the master(2.9.0) branch, instead of 2.4.6 when downloading ?

when exactly do you get that error, when building the opencv libs, or when building your own project ( and trying to link against opencv ?

berak gravatar imageberak ( 2013-07-29 05:25:32 -0500 )edit

I get error when building opencv libs

aostaz gravatar imageaostaz ( 2013-07-31 02:27:06 -0500 )edit

Did you get the error solved and how did you solve it? i got the same problem.

ran294 gravatar imageran294 ( 2013-09-11 21:18:33 -0500 )edit
1

The same problem with me. Anyone knows how to solve it?

It seems that the following post could be helpful: http://answers.opencv.org/question/13490/cmake-opencv245-git-repository-24-branch-windows-7/

drxiang gravatar imagedrxiang ( 2013-09-12 04:15:34 -0500 )edit

hey, folks, help us help you : it needs more information,

  • which project failed ?
  • did the debug version fail, too ?
  • did you verify, that opencv_core290 was already built, before trying to build the resp. project ?
berak gravatar imageberak ( 2013-09-12 04:24:50 -0500 )edit

after cmake, when building opencv.sln, the errors showed; it is before using OpenCV for one's own project.

drxiang gravatar imagedrxiang ( 2013-09-12 04:34:21 -0500 )edit

1.The error occurred when build both release and debug for "all_build" in opencv solution that generated by CMake. 2.Both debug and release falls at the same error. 3.The build of library was unsuccessful, therefore there were no opencv_core290.
Please help!! Thank you!!!!

ran294 gravatar imageran294 ( 2013-09-13 22:58:45 -0500 )edit

which mean CMake doesn't generate opencv_core? @berak@ran294

Aj-611 gravatar imageAj-611 ( 2016-01-31 20:53:03 -0500 )edit