Ask Your Question

Revision history [back]

Problems with library dependencies

Hi there,

I'm new to Visual Studio and opencv.

I tried to setup my IDE according to this video: https://www.youtube.com/watch?v=vwhTKsvHwfQ

At first I did setup everything for x86 and the drawing.cpp just ran fine. Well, other examples which include a webcam or load an image won't run due to missing dll's e.g. the core248.dll .

I did exactly the same things. What's been wrong with my clean installed IDE?

Thanks in advance!

Problems with library dependencies

Hi there,

I'm new to Visual Studio and opencv.

I tried to setup my IDE according to this video: https://www.youtube.com/watch?v=vwhTKsvHwfQ

At first I did setup everything for x86 and the drawing.cpp just ran fine. Well, other examples which include a webcam or load an image won't run due to missing dll's e.g. the core248.dll .

I did exactly the same things. What's been wrong with my clean installed IDE?

Thanks in advance!

'C:\opencv\build\x64\vc12\bin\opencv_core248d.dll'. Cannot find or open the PDB file. 'C:\opencv\build\x64\vc12\bin\opencv_highgui248d.dll'. Cannot find or open the PDB file. 'C:\opencv\build\x64\vc12\bin\opencv_imgproc248d.dll'. Cannot find or open the PDB file.

The path is added to the systems path

Problems with library dependencies

Hi there,

I'm new to Visual Studio and opencv.

I tried to setup my IDE according to this video: https://www.youtube.com/watch?v=vwhTKsvHwfQ

At first I did setup everything for x86 and the drawing.cpp just ran fine. Well, other examples which include a webcam or load an image won't run due to missing dll's e.g. the core248.dll .

I did exactly the same things. What's been wrong with my clean installed IDE?

Thanks in advance!

'C:\opencv\build\x64\vc12\bin\opencv_core248d.dll'. Cannot find or open the PDB file. 'C:\opencv\build\x64\vc12\bin\opencv_highgui248d.dll'. Cannot find or open the PDB file. 'C:\opencv\build\x64\vc12\bin\opencv_imgproc248d.dll'. Cannot find or open the PDB file.

The path is added to the systems path

Edit 2:

I'm trying to run this code:

#include "opencv2/opencv.hpp"

using namespace cv;

int main(int, char**) { VideoCapture cap(0); // open the default camera if (!cap.isOpened()) // check if we succeeded return -1;

Mat edges;
namedWindow("edges", 1);
for (;;)
{
    Mat frame;
    cap >> frame; // get a new frame from camera
    cvtColor(frame, edges, CV_BGR2GRAY);
    GaussianBlur(edges, edges, Size(7, 7), 1.5, 1.5);
    Canny(edges, edges, 0, 30, 3);
    imshow("edges", edges);
    if (waitKey(30) >= 0) break;
}
// the camera will be deinitialized automatically in VideoCapture destructor
return 0;

}

And this is what the output says:

'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Users\MarcoMeter\Documents\Visual Studio 2013\Projects\ConsoleApplication_test\x64\Debug\ConsoleApplication_test.exe'. Module was built without symbols. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\opencv\build\x64\vc12\bin\opencv_core248d.dll'. Cannot find or open the PDB file. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\opencv\build\x64\vc12\bin\opencv_highgui248d.dll'. Cannot find or open the PDB file. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\opencv\build\x64\vc12\bin\opencv_imgproc248d.dll'. Cannot find or open the PDB file. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\msvcp120.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\msvcr120.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\msvcp120d.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\msvcr120d.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\user32.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\gdi32.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\ole32.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\oleaut32.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\advapi32.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\comctl32.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\msvfw32.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\avifil32.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\avicap32.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\combase.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\msvcrt.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\rpcrt4.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\sechost.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\winmm.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\shell32.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\msacm32.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\version.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\winmmbase.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\shlwapi.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\cfgmgr32.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\devobj.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\imm32.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\msctf.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\kernel.appcore.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\cryptbase.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\bcryptprimitives.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\uxtheme.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Program Files (x86)\TeamViewer\Version9\tv_x64.dll'. Cannot find or open the PDB file. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\clbcatq.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\devenum.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\setupapi.dll'. Symbols loaded. The program '[2904] ConsoleApplication_test.exe' has exited with code 0 (0x0).

Problems with library dependencies

Hi there,

I'm new to Visual Studio and opencv.

I tried to setup my IDE according to this video: https://www.youtube.com/watch?v=vwhTKsvHwfQ

At first I did setup everything for x86 and the drawing.cpp just ran fine. Well, other examples which include a webcam or load an image won't run due to missing dll's e.g. the core248.dll .

I did exactly the same things. What's been wrong with my clean installed IDE?

Thanks in advance!

'C:\opencv\build\x64\vc12\bin\opencv_core248d.dll'. Cannot find or open the PDB file. 'C:\opencv\build\x64\vc12\bin\opencv_highgui248d.dll'. Cannot find or open the PDB file. 'C:\opencv\build\x64\vc12\bin\opencv_imgproc248d.dll'. Cannot find or open the PDB file.

The path is added to the systems path

Edit 2:

I'm trying to run this code:

#include "opencv2/opencv.hpp"

using namespace cv;

int main(int, char**) { VideoCapture cap(0); // open the default camera if (!cap.isOpened()) // check if we succeeded return -1;

Mat edges;
namedWindow("edges", 1);
for (;;)
{
    Mat frame;
    cap >> frame; // get a new frame from camera
    cvtColor(frame, edges, CV_BGR2GRAY);
    GaussianBlur(edges, edges, Size(7, 7), 1.5, 1.5);
    Canny(edges, edges, 0, 30, 3);
    imshow("edges", edges);
    if (waitKey(30) >= 0) break;
}
// the camera will be deinitialized automatically in VideoCapture destructor
return 0;

}

And this is what the output says:

'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Users\MarcoMeter\Documents\Visual Studio 2013\Projects\ConsoleApplication_test\x64\Debug\ConsoleApplication_test.exe'. Module was built without symbols. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\opencv\build\x64\vc12\bin\opencv_core248d.dll'. Cannot find or open the PDB file. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\opencv\build\x64\vc12\bin\opencv_highgui248d.dll'. Cannot find or open the PDB file. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\opencv\build\x64\vc12\bin\opencv_imgproc248d.dll'. Cannot find or open the PDB file. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\msvcp120.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\msvcr120.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\msvcp120d.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\msvcr120d.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\user32.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\gdi32.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\ole32.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\oleaut32.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\advapi32.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\comctl32.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\msvfw32.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\avifil32.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\avicap32.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\combase.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\msvcrt.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\rpcrt4.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\sechost.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\winmm.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\shell32.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\msacm32.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\version.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\winmmbase.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\shlwapi.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\cfgmgr32.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\devobj.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\imm32.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\msctf.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\kernel.appcore.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\cryptbase.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\bcryptprimitives.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\uxtheme.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Program Files (x86)\TeamViewer\Version9\tv_x64.dll'. Cannot find or open the PDB file. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\clbcatq.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\devenum.dll'. Symbols loaded. 'ConsoleApplication_test.exe' (Win32): Loaded 'C:\Windows\System32\setupapi.dll'. Symbols loaded. The program '[2904] '[5156] ConsoleApplication_test.exe' has exited with code 0 (0x0).-1 (0xffffffff).