Ask Your Question
0

image loads well but i see errors in the output window of vs2012

asked 2013-08-12 11:33:23 -0600

neo_star gravatar image

updated 2013-08-13 05:54:16 -0600

hi i am a beginner. the following code is used for displaying an image. the program does display an image but i see errors in the output window of vs2012. i want to know if i am doing the right thing here. i use C:\opencv\build\x64\vc11 as the path for opencv and used vs2012.

#include "stdafx.h"
#include <opencv2/opencv.hpp>
#include <iostream>
using namespace cv;
using namespace std;
int main( int argc, char** argv )
{
    Mat image;
    image = imread("C:\\jobs.jpg", CV_LOAD_IMAGE_COLOR);   // Read the file
    namedWindow( "Display window", CV_WINDOW_AUTOSIZE );// Create a window for display.
    imshow( "Display window", image );                   // Show our image inside it.
    waitKey(0);                                          // Wait for a keystroke in the window
    return 0;
}

OUTPUT of output window.

'test_img.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'. Cannot find or open the PDB file.
'test_img.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'. Cannot find or open the PDB file.
'test_img.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'. Cannot find or open the PDB file.
'test_img.exe' (Win32): Loaded 'C:\opencv\build\x64\vc11\bin\opencv_core246d.dll'. Cannot find or open the PDB file.
'test_img.exe' (Win32): Loaded 'C:\Windows\System32\msvcp110d.dll'. Symbols loaded.
'test_img.exe' (Win32): Loaded 'C:\Windows\System32\msvcr110d.dll'. Symbols loaded.
'test_img.exe' (Win32): Loaded 'C:\opencv\build\x64\vc11\bin\opencv_highgui246d.dll'. Cannot find or open the PDB file.
'test_img.exe' (Win32): Loaded 'C:\Windows\System32\user32.dll'. Cannot find or open the PDB file.
'test_img.exe' (Win32): Loaded 'C:\Windows\System32\gdi32.dll'. Cannot find or open the PDB file.
'test_img.exe' (Win32): Loaded 'C:\Windows\System32\lpk.dll'. Cannot find or open the PDB file.
'test_img.exe' (Win32): Loaded 'C:\Windows\System32\usp10.dll'. Cannot find or open the PDB file.
'test_img.exe' (Win32): Loaded 'C:\Windows\System32\msvcrt.dll'. Cannot find or open the PDB file.
'test_img.exe' (Win32): Loaded 'C:\Windows\System32\ole32.dll'. Cannot find or open the PDB file.
'test_img.exe' (Win32): Loaded 'C:\Windows\System32\rpcrt4.dll'. Cannot find or open the PDB file.
'test_img.exe' (Win32): Loaded 'C:\Windows\System32\oleaut32.dll'. Cannot find or open the PDB file.
'test_img.exe' (Win32): Loaded 'C:\Windows\System32\advapi32.dll'. Cannot find or open the PDB file.
'test_img.exe' (Win32): Loaded 'C:\Windows\System32\sechost.dll'. Cannot find or open the PDB file.
'test_img.exe' (Win32): Loaded 'C:\Windows\winsxs\amd64_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7601.17514_none_a4d6a923711520a9\comctl32.dll'. Cannot find or open the PDB file.
'test_img.exe' (Win32): Loaded 'C:\Windows\System32\msvfw32.dll'. Cannot find or open the PDB file.
'test_img.exe' (Win32): Loaded 'C:\Windows\System32\winmm.dll'. Cannot find or open the PDB file.
'test_img.exe' (Win32): Loaded 'C:\Windows\System32\shell32.dll'. Cannot find or open the PDB file.
'test_img.exe' (Win32): Loaded 'C:\Windows\System32\shlwapi.dll'. Cannot find or open the PDB file.
'test_img.exe' (Win32): Loaded 'C:\Windows\System32\avifil32.dll'. Cannot find or open the PDB file.
'test_img.exe' (Win32): Loaded 'C:\Windows\System32\msacm32 ...
(more)
edit retag flag offensive close merge delete

Comments

Just a remark on the use of tags, there is already a wide list of tags available, without the hashtags, that people can use to filter out the topics. Adding hashtags creates double tags without any use, so in the feature, please remove hashtags from your questions tags.

StevenPuttemans gravatar imageStevenPuttemans ( 2013-08-13 05:54:54 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
2

answered 2013-08-12 12:07:51 -0600

berak gravatar image

no fear, that's just warnings.

the pdb files are not supplied with the prebuild libs, that just means, you can't debug the opencv libs. ( you can debug your code nonetheless ).

if you really need to peek into the libs while debugging, rebuild the libs from src, and the pdb files will get generated.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2013-08-12 11:33:23 -0600

Seen: 867 times

Last updated: Aug 13 '13