新浪微博
腾讯微博
会员列表
统计排行
基本信息
到访IP统计
管理团队
管理统计
在线会员
会员排行
版块排行
帖子排行
标签排行
帮助
下拉
用户名
电子邮箱
用户名
密 码
记住登录
登录
找回密码
注册
快捷通道
关闭
您还没有登录,快捷通道只有在登录后才能使用。
立即登录
还没有帐号? 赶紧
注册一个
首页
论坛
Qt下载
作品展
群组
个人中心
捐赠、管理与开发
邮件订阅
帖子
文章
日志
用户
版块
群组
帖子
搜索
QTCN开发网
>
Qt基础编程
>
关于VS2010编译后出现找不到PDB文件的警告
发帖
回复
返回列表
新帖
9424
阅读
5
回复
[提问]
关于VS2010编译后出现找不到PDB文件的警告
[复制链接]
上一主题
下一主题
离线
heyiufo
UID:128035
注册时间
2012-02-26
最后登录
2018-12-31
在线时间
9小时
发帖
10
搜Ta的帖子
精华
0
金钱
120
威望
21
贡献值
0
好评度
11
访问TA的空间
加好友
用道具
新手上路
关闭
个人中心可以申请新版勋章哦
立即申请
知道了
加关注
发消息
只看楼主
倒序阅读
楼主
发表于: 2012-07-04
请教高手一个
问题
,这几天我在学习VS2010结合QT编程,
编译
一个hello程序,提示找不到PDB文件,但编译是成功的,可以运行程序,请问怎么解决这个问题!
我在安装VS2010后,按照网上有人贴出来的方法编译QT源代码(
http://www.cnblogs.com/elect-fans/archive/2012/03/29/2422816.html
),在configure完成后,
没有
执行
清理命令和不加参数-prex,这两个措施就是为了避免出现找不到PDB文件警告的,编译成功后,又继续
安装
了qt-vs-addin-1.1.10,打开VS2010,在其菜单中出现了QT选项,我打开一个hello例子进行编译,编译好后正常运行hello程序,但在编译状态栏中出现了很多找不到PDB文件的警告,请问高手们这是怎么回事,怎么解决这个问题!
谢谢
共
条评分
回复
举报
分享到
淘江湖
新浪
QQ微博
QQ空间
开心
人人
豆瓣
网易微博
百度
鲜果
白社会
飞信
离线
XChinux
UID:2
注册时间
2004-11-08
最后登录
2025-06-21
在线时间
7022小时
发帖
11243
搜Ta的帖子
精华
61
金钱
149032
威望
9968
贡献值
702
好评度
8190
访问TA的空间
加好友
用道具
总版主
加关注
发消息
只看该作者
1楼
发表于: 2012-07-04
是提示哪个pdb文件找不到?你编译后生成的pdb文件都应该在 Qt lib目录下啊。
VC自己的.pdb,它会自动拷贝的吧?
共
条评分
二笔 openSUSE Vim N9 BB10
XChinux@163.com
网易博客
腾讯微博
承接C++/Qt、Qt UI界面、PHP及预算报销系统开发业务
回复
举报
离线
heyiufo
UID:128035
注册时间
2012-02-26
最后登录
2018-12-31
在线时间
9小时
发帖
10
搜Ta的帖子
精华
0
金钱
120
威望
21
贡献值
0
好评度
11
访问TA的空间
加好友
用道具
新手上路
加关注
发消息
只看该作者
2楼
发表于: 2012-07-04
谢谢,我晚上回去再仔细看看,是哪些PDB文件找不到
共
条评分
回复
举报
离线
heyiufo
UID:128035
注册时间
2012-02-26
最后登录
2018-12-31
在线时间
9小时
发帖
10
搜Ta的帖子
精华
0
金钱
120
威望
21
贡献值
0
好评度
11
访问TA的空间
加好友
用道具
新手上路
加关注
发消息
只看该作者
3楼
发表于: 2012-07-05
回 1楼(XChinux) 的帖子
“hello.exe”: 已加载“D:\Test_program\test\chap01\hello\debug\hello.exe”,已加载符号。
“hello.exe”: 已加载“C:\Windows\System32\ntdll.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Windows\System32\kernel32.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Windows\System32\KernelBase.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Windows\System32\gdi32.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Windows\System32\user32.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Windows\System32\lpk.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Windows\System32\usp10.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Windows\System32\msvcrt.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Windows\System32\oleaut32.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Windows\System32\ole32.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Windows\System32\rpcrt4.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Windows\System32\imm32.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Windows\System32\msctf.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Windows\System32\winmm.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Windows\System32\winspool.drv”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Windows\System32\ws2_32.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Windows\System32\nsi.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Windows\System32\advapi32.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Windows\System32\sechost.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Windows\System32\shell32.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Windows\System32\shlwapi.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Windows\System32\nvinit.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Program Files\NVIDIA Corporation\coprocmanager\detoured.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Program Files\NVIDIA Corporation\coprocmanager\Nvd3d9wrap.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Windows\System32\setupapi.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Windows\System32\cfgmgr32.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Windows\System32\devobj.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Program Files\NVIDIA Corporation\coprocmanager\nvdxgiwrap.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Windows\System32\uxtheme.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Windows\System32\dwmapi.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Windows\System32\cryptbase.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Program Files\ThinkPad\Bluetooth Software\BtMmHook.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Windows\System32\psapi.dll”,Cannot find or open the PDB file
程序“[2556] hello.exe: 本机”已退出,返回值为 0 (0x0)。
以上就是出现在输出状态栏中的内容
共
条评分
回复
举报
离线
heyiufo
UID:128035
注册时间
2012-02-26
最后登录
2018-12-31
在线时间
9小时
发帖
10
搜Ta的帖子
精华
0
金钱
120
威望
21
贡献值
0
好评度
11
访问TA的空间
加好友
用道具
新手上路
加关注
发消息
只看该作者
4楼
发表于: 2012-07-05
“quit.exe”: 已加载“D:\Test_program\test\chap01\quit\debug\quit.exe”,已加载符号。
“quit.exe”: 已加载“C:\Windows\System32\ntdll.dll”,Cannot find or open the PDB file
“quit.exe”: 已加载“C:\Windows\System32\kernel32.dll”,Cannot find or open the PDB file
“quit.exe”: 已加载“C:\Windows\System32\KernelBase.dll”,Cannot find or open the PDB file
“quit.exe”: 已加载“C:\Windows\System32\gdi32.dll”,Cannot find or open the PDB file
“quit.exe”: 已加载“C:\Windows\System32\user32.dll”,Cannot find or open the PDB file
“quit.exe”: 已加载“C:\Windows\System32\lpk.dll”,Cannot find or open the PDB file
“quit.exe”: 已加载“C:\Windows\System32\usp10.dll”,Cannot find or open the PDB file
“quit.exe”: 已加载“C:\Windows\System32\msvcrt.dll”,Cannot find or open the PDB file
“quit.exe”: 已加载“C:\Windows\System32\oleaut32.dll”,Cannot find or open the PDB file
“quit.exe”: 已加载“C:\Windows\System32\ole32.dll”,Cannot find or open the PDB file
“quit.exe”: 已加载“C:\Windows\System32\rpcrt4.dll”,Cannot find or open the PDB file
“quit.exe”: 已加载“C:\Windows\System32\imm32.dll”,Cannot find or open the PDB file
“quit.exe”: 已加载“C:\Windows\System32\msctf.dll”,Cannot find or open the PDB file
“quit.exe”: 已加载“C:\Windows\System32\winmm.dll”,Cannot find or open the PDB file
“quit.exe”: 已加载“C:\Windows\System32\winspool.drv”,Cannot find or open the PDB file
“quit.exe”: 已加载“C:\Windows\System32\ws2_32.dll”,Cannot find or open the PDB file
“quit.exe”: 已加载“C:\Windows\System32\nsi.dll”,Cannot find or open the PDB file
“quit.exe”: 已加载“C:\Windows\System32\advapi32.dll”,Cannot find or open the PDB file
“quit.exe”: 已加载“C:\Windows\System32\sechost.dll”,Cannot find or open the PDB file
“quit.exe”: 已加载“C:\Windows\System32\shell32.dll”,Cannot find or open the PDB file
“quit.exe”: 已加载“C:\Windows\System32\shlwapi.dll”,Cannot find or open the PDB file
“quit.exe”: 已加载“C:\Windows\System32\nvinit.dll”,Cannot find or open the PDB file
“quit.exe”: 已加载“C:\Program Files\NVIDIA Corporation\coprocmanager\detoured.dll”,Cannot find or open the PDB file
“quit.exe”: 已加载“C:\Program Files\NVIDIA Corporation\coprocmanager\Nvd3d9wrap.dll”,Cannot find or open the PDB file
“quit.exe”: 已加载“C:\Windows\System32\setupapi.dll”,Cannot find or open the PDB file
“quit.exe”: 已加载“C:\Windows\System32\cfgmgr32.dll”,Cannot find or open the PDB file
“quit.exe”: 已加载“C:\Windows\System32\devobj.dll”,Cannot find or open the PDB file
“quit.exe”: 已加载“C:\Program Files\NVIDIA Corporation\coprocmanager\nvdxgiwrap.dll”,Cannot find or open the PDB file
“quit.exe”: 已加载“C:\Windows\System32\uxtheme.dll”,Cannot find or open the PDB file
“quit.exe”: 已加载“C:\Windows\System32\dwmapi.dll”,Cannot find or open the PDB file
“quit.exe”: 已加载“C:\Windows\System32\cryptbase.dll”,Cannot find or open the PDB file
“quit.exe”: 已加载“C:\Program Files\ThinkPad\Bluetooth Software\BtMmHook.dll”,Cannot find or open the PDB file
“quit.exe”: 已加载“C:\Windows\System32\psapi.dll”,Cannot find or open the PDB file
“quit.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
程序“[4232] quit.exe: 本机”已退出,返回值为 0 (0x0)。
以上内容是编译例子 quit 后出现的警告, 不知道为什么, 很烦人
共
条评分
回复
举报
离线
heyiufo
UID:128035
注册时间
2012-02-26
最后登录
2018-12-31
在线时间
9小时
发帖
10
搜Ta的帖子
精华
0
金钱
120
威望
21
贡献值
0
好评度
11
访问TA的空间
加好友
用道具
新手上路
加关注
发消息
只看该作者
5楼
发表于: 2012-07-05
我仔细地对比了一下上面的这两个例子编译后, 出现的警告好像是一样的, 另外,我还编译了age这个例子, 出现的警告也是一样的, 不知道是什么原因造成的
共
条评分
回复
举报
发帖
回复
返回列表
http://www.qtcn.org/bbs
访问内容超出本站范围,不能确定是否安全
继续访问
取消访问
快速回复
限100 字节
您目前还是游客,请
登录
或
注册
进入高级模式
文字颜色
发 布
回复后跳转到最后一页
上一个
下一个
关闭
补充发布信息
验证码:
发 布
隐藏
快速跳转
站务及资讯
网站公告
新闻资讯
Qt官方发布
网站管理
Qt应用及资源
Qt 作品展
Qt代码秀
Qt应用版
Qt技术讨论区
Qt安装与发布
Qt中文处理
Qt基础编程
Qt QML开发
Qt嵌入式开发
Qt移动平台开发
其它技术开发讨论区
Qt图书专区
《C++ GUI Qt 4编程》(第2版)专栏
《Qt高级编程》专栏
《零基础学Qt4编程》专栏
《Qt设计模式》(第2版) 图书专栏
Python Qt GUI快速编程
Qt项目开发区
天池项目
Qt开放平台开发库
机械CAD
扇贝词典
非活跃项目区
社区中心
帖子回收站(Trash)
招聘、求职、供求、广告等
休闲娱乐
关闭
关闭
选中
1
篇
全选