Ask Your Question
0

LNK1104 cannot open file 'opencv_core343d.lib'

asked 2019-05-01 17:38:24 -0600

JamesB gravatar image

I'm building a project in debug mode with solution platform of x64 using visual studio. I'm getting this error when building "LNK1104 cannot open file 'opencv_core343d.lib'"

In my debug x64 property sheet, I have

In linker section

  • D:\OpenCV\opencv\build\x64\vc14\lib; for additional library directories
  • Added opencv_world343d.lib in additional dependencies

In C/C++ section

  • D:\OpenCV\opencv\build\include; for additional include directories

The dll path is also added to environment path.

With the above setting, the error is very unexpected, and I have no clue what went wrong.

edit retag flag offensive close merge delete

Comments

  • which opencv version is it, exactly ?
  • did you try to build the opencv libs, locally, before ?
  • if so, did you build the INSTALL project ?

  • or are you using the prebuilt ones ? (those only have opencv_world)

  • how was your project generated ? what or who inserted opencv_core343.lib , and where ?

berak gravatar imageberak ( 2019-05-02 01:03:36 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2019-05-29 01:29:14 -0600

sergeb gravatar image

@JamesB, make sure to run your VS as Administrator.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2019-05-01 17:34:50 -0600

Seen: 1,038 times

Last updated: May 01 '19