OpenCV - DLL missing, but it's not?

后端 未结 14 806
陌清茗
陌清茗 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:43

    In Visual Studio 2013 you need to add this to the Environment Variables and then Restart your pc. This is the path where .dll file located in.

    enter image description here

    0 讨论(0)
  • 2020-12-04 18:43

    As to @Marc's answer, I don't think VC uses the path from the OS. Did you add the path to VC's library paths. I usually add the DLLs to the project and copy if newer on the build and that works very well for me.

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