Opencv dll issues

后端 未结 3 1011
梦毁少年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 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 ; )

提交回复
热议问题