opencv icon indicating copy to clipboard operation
opencv copied to clipboard

LNK2001 unresolved external symbol IID_IAMVideoControl opencv_world

Open PhilippeCb opened this issue 1 year ago • 1 comments

Hello,

I have been following the steps detailed here : https://github.com/econsystems/opencv/blob/master/Documents/OpenCV_Installation_Windows_Manual_v1.7.pdf

However when I try to build opencv step 6. 4. I get the following error:

LNK2001 unresolved external symbol IID_IAMVideoControl opencv_world C:\Program Files\opencv-4.5.5\build\modules\world\cap_dshow.obj

I am under windows 10 and have added the direct show header to to the project as well as the strmiids.lib to the property manager.

What else needs to be done ?

Thank you

PhilippeCb avatar May 30 '23 11:05 PhilippeCb

I had the same issue in Ubuntu 20.04, I fix it executing: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

davidpob99 avatar Jan 23 '24 15:01 davidpob99