“The application has failed to start because cxcore210.dll was not found”. Why would this happen?

前端 未结 3 1074
不知归路
不知归路 2021-01-26 17:49

I\'m having trouble running basic opencv scripts on my new machine. I\'ve installed opencv2.1. I am linking these files from the linker:

C:\\OpenCV2.1\\

3条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-26 18:01

    The DLL needs to be somewhere in the DLL search path, otherwise the loader won't be able to find it.

    The two easiest options are to copy the DLL(s) to the directory in which your executable is located or the directory from which you are running your executable, or to add the directory in which the DLL(s) are located to the PATH.

提交回复
热议问题