मैं एक opencv कंसोल सी दृश्य स्टूडियो 2013 इस में ++ कार्यक्रम संकलन चाहते मेरी कोड है:"कार्यक्रम शुरू नहीं कर सकते क्योंकि opencv_world300.dll अपने कंप्यूटर से याद आ रही है 'सी में त्रुटि ++
#include "stdafx.h"
#include "opencv2/highgui/highgui.hpp"
#include <iostream>
using namespace cv;
using namespace std;
int main(int argc, const char** argv)
{
Mat img = imread("rgb_1.png", CV_LOAD_IMAGE_UNCHANGED); //read the image data in the file "MyPic.JPG" and store it in 'img'
if (img.empty()) //check whether the image is loaded or not
{
cout << "Error : Image cannot be loaded..!!" << endl;
//system("pause"); //wait for a key press
return -1;
}
namedWindow("MyWindow", CV_WINDOW_AUTOSIZE); //create a window with the name "MyWindow"
imshow("MyWindow", img); //display the image which is stored in the 'img' in the "MyWindow" window
waitKey(0); //wait infinite time for a keypress
destroyWindow("MyWindow"); //destroy the window with the name, "MyWindow"
return 0;
}
हालांकि मैं कंप्यूटर और विजुअल स्टूडियो निर्देशिका दोनों में गुणों में सभी निर्देशिकाओं को परिभाषित किया है, मुझे "The program can't start because opencv_world300.dll is missing from your computer."
त्रुटि मिलती है।
मैं इस समस्या को कैसे ठीक कर सकता हूं?
धन्यवाद
यदि आपके पास प्रश्न में डीएल है, तो सबसे आसान काम यह है कि इसे अपनी परियोजनाओं में निष्पादन योग्य आउटपुट फ़ोल्डर –
में कॉपी और पेस्ट करें, मैंने देखा है कि यह डीएल अन्य डीएलएस के साथ नहीं रखा गया है। आपको उस फ़ोल्डर को खोजने की आवश्यकता है जिसमें 'opencv_world300.dll' स्थित है। बस इतना ही। – CroCo