Opencv dll issues

后端 未结 3 1008
梦毁少年i
梦毁少年i 2021-01-25 13:29

I was following a tutorial for object detection using opencv, I did it step by step but when I run it, I got this error -

The program can\'t start because openc         


        
相关标签:
3条回答
  • 2021-01-25 13:57

    OpenCV does not contain a library file called "opencv_244d.dll".

    Check all your dependencies and their names so you don't have any misspelled names. All the names are something like "opencv_name244d.dll" such as "opencv_photo244d.dll".

    0 讨论(0)
  • 2021-01-25 14:06

    I would advise you to build the OpenCV libraries from source so that you can have a custom installation specific for your system (this is always better since it gives you the option of using what you want/need and also the performance is better since the libs are custom-made for your system).

    0 讨论(0)
  • 2021-01-25 14:08

    You can find the required dll files into the bin folder (that is next to lib folder where the .lib files are located), and you have two options:

    1) copy the required dlls into the same folder with your application //this is a little better because it kind of prepares you for when you'll need to deploy your application on systems that don't have opencv installed (for then don't forget to build the release version of your application)

    or 2) add to the Path in the Environment Variables your path to that bin folder (be carefull that the path in there are separated by ; )

    0 讨论(0)
提交回复
热议问题