OpenCV - DLL missing, but it's not?

后端 未结 14 835
陌清茗
陌清茗 2020-12-04 17:50

I am trying just a basic program with OpenCV with the following code:

#include \"cv.h\"
#include \"highgui.h\"

int main()
{
    IplImage* newImg;
    newImg         


        
14条回答
  •  情书的邮戳
    2020-12-04 18:29

    I have had numerous problems with opencv and only succeded after a gruesome 4-6 months. This is the last problem I have had, but all of the above didn't work. What worked for me was just copying and pasting the opencv_core2*.dll (and opencv_highgui2*.dll which it will ask for since you included this as well) into the release (or debug folder - I'm assuming. Haven't tested this) folder of your project, where your application file is.

    Hope this helps!

提交回复
热议问题