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 <opencv2\opencv.hpp>
#include <iostream>
#include <string>
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搞了半天加个晚上,郁闷,网上的办法试了都没用,就提下吧,没啥含金量,哈哈。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值