VS2010+opencv2.4.10调试显示Cannot find or open the PDB file出不了图片问题。

已加载“D:\vs2010 c++\text\Debug\text.exe”,已加载符号。
“text.exe”: 已加载“C:\Windows\SysWOW64\ntdll.dll”,Cannot find or open the PDB file
“text.exe”: 已加载“C:\Windows\SysWOW64\kernel32.dll”,Cannot find or open the PDB file
“text.exe”: 已加载“C:\Windows\SysWOW64\KernelBase.dll”,Cannot find or open the PDB file
“text.exe”: 已加载“C:\Windows\SysWOW64\opencv_core2410d.dll”,Cannot find or open the PDB file
“text.exe”: 已加载“C:\Windows\SysWOW64\msvcp100d.dll”,已加载符号。
“text.exe”: 已加载“C:\Windows\SysWOW64\msvcr100d.dll”,已加载符号。
“text.exe”: 已加载“D:\BaiduYunDownload\opencv\build\x86\vc10\bin\opencv_highgui2410d.dll”,Cannot find or open the PDB file
“text.exe”: 已加载“C:\Windows\SysWOW64\user32.dll”,Cannot find or open the PDB file
“text.exe”: 已加载“C:\Windows\SysWOW64\gdi32.dll”,Cannot find or open the PDB file
“text.exe”: 已加载“C:\Windows\SysWOW64\lpk.dll”,Cannot find or open the PDB file
“text.exe”: 已加载“C:\Windows\SysWOW64\usp10.dll”,Cannot find or open the PDB file
“text.exe”: 已加载“C:\Windows\SysWOW64\msvcrt.dll”,Cannot find or open the PDB file
“text.exe”: 已加载“C:\Windows\SysWOW64\advapi32.dll”,Cannot find or open the PDB file
“text.exe”: 已加载“C:\Windows\SysWOW64\sechost.dll”,Cannot find or open the PDB file
“text.exe”: 已加载“C:\Windows\SysWOW64\rpcrt4.dll”,Cannot find or open the PDB file
“text.exe”: 已加载“C:\Windows\SysWOW64\sspicli.dll”,Cannot find or open the PDB file
“text.exe”: 已加载“C:\Windows\SysWOW64\cryptbase.dll”,Cannot find or open the PDB file
“text.exe”: 已加载“C:\Windows\SysWOW64\ole32.dll”,Cannot find or open the PDB file
“text.exe”: 已加载“C:\Windows\SysWOW64\oleaut32.dll”,Cannot find or open the PDB file
“text.exe”: 已加载“C:\Windows\winsxs\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7601.17514_none_ec83dffa859149af\comctl32.dll”,Cannot find or open the PDB file
“text.exe”: 已加载“C:\Windows\SysWOW64\avifil32.dll”,Cannot find or open the PDB file
“text.exe”: 已加载“C:\Windows\SysWOW64\winmm.dll”,Cannot find or open the PDB file
“text.exe”: 已加载“C:\Windows\SysWOW64\msacm32.dll”,Cannot find or open the PDB file
“text.exe”: 已加载“C:\Windows\SysWOW64\msvfw32.dll”,Cannot find or open the PDB file
“text.exe”: 已加载“C:\Windows\SysWOW64\shell32.dll”,Cannot find or open the PDB file
“text.exe”: 已加载“C:\Windows\SysWOW64\shlwapi.dll”,Cannot find or open the PDB file
“text.exe”: 已加载“C:\Windows\SysWOW64\avicap32.dll”,Cannot find or open the PDB file
“text.exe”: 已加载“C:\Windows\SysWOW64\version.dll”,Cannot find or open the PDB file
“text.exe”: 已加载“C:\Windows\SysWOW64\imm32.dll”,Cannot find or open the PDB file
“text.exe”: 已加载“C:\Windows\SysWOW64\msctf.dll”,Cannot find or open the PDB file
“text.exe”: 已加载“C:\Program Files (x86)\Common Files\Baidu\BDWebAdapter\2.0.320.0\BDEWebAdapterFrame.dll”,Cannot find or open the PDB file
“text.exe”: 已加载“C:\Windows\SysWOW64\nvinit.dll”,Cannot find or open the PDB file
“text.exe”: 已加载“C:\Program Files (x86)\NVIDIA Corporation\coprocmanager\detoured.dll”,Cannot find or open the PDB file
“text.exe”: 已加载“C:\Program Files (x86)\NVIDIA Corporation\coprocmanager\Nvd3d9wrap.dll”,Cannot find or open the PDB file
“text.exe”: 已加载“C:\Windows\SysWOW64\setupapi.dll”,Cannot find or open the PDB file
“text.exe”: 已加载“C:\Windows\SysWOW64\cfgmgr32.dll”,Cannot find or open the PDB file
“text.exe”: 已加载“C:\Windows\SysWOW64\devobj.dll”,Cannot find or open the PDB file
“text.exe”: 已加载“C:\Program Files (x86)\NVIDIA Corporation\coprocmanager\nvdxgiwrap.dll”,Cannot find or open the PDB file
程序“[2280] text.exe: 本机”已退出,返回值为 -1 (0xffffffff)。

编译显示以上问题的,就是图片的名称不对,如一下程序

#include "stdafx.h"
#include
#include
#include
using namespace cv;
using namespace std;
int main()
{
    Mat img = imread("pp.jpg");
    if(img.empty())
    {
        cout<<"error";
        return -1;
    }
    imshow("xx的靓照",img);
    waitKey();


    return 0;
}

需要把你要展示的图片的名字改为pp,而不是pp.jpg。还有个就是图片的路径,这个大家都懂,要在创建的项目目录下。菜鸟昨天装opencv搞了半天加个晚上,郁闷,网上的办法试了都没用,就提下吧,没啥含金量,哈哈。

你可能感兴趣的:(数据预处理)