“The program can't start because opencv_world300.dll is missing from your computer” error in C++

后端 未结 10 1747
情深已故
情深已故 2020-12-30 01:59

I want to compile an opencv Console C++ program in Visual Studio 2013. This is my code:

#include \"stdafx.h\"
#include \"opencv2/highgui/highgui.hpp\"
#inclu         


        
10条回答
  •  滥情空心
    2020-12-30 02:46

    Best and simple solution is

    1. Add path_variable of OpenCV/build/x64/bin in environment system variables.

    2. And then restart the visual studio.

    this definitely will solve the problem.

    the problem might be you've updated the path variable after opening the visual studio so it can't update the *.dll files.

提交回复
热议问题