econsystems / opencv

Easy way to communicate with the camera using this OpenCV patch in c++
38 stars 18 forks source link

LNK2001 unresolved external symbol IID_IAMVideoControl opencv_world #10

Open PhilippeCb opened 1 year ago

PhilippeCb commented 1 year ago

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

davidpob99 commented 10 months ago

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