I to be trying to usage OpenCV in VS 2010. Ns am an amateur, and also I am learning an initial steps from the OpenCV wiki. However, as soon as trying to debug my project, I acquire the following errors:

我尝试在VS2010中使用OpenCV。我是一个业余爱好者,我正在学习OpenCV wiki的第一步。但是,在尝试调试项目时,出现以下错误:

"C:WindowsSysWOW64 tdll.dll", Cannot uncover or open up the PDB record "C:WindowsSysWOW64kernel32.dll", Cannot find or open up the PDB paper "C:WindowsSysWOW64kernellbase.dll", Cannot discover or open up the PDB file

I have those files in the right directory, for this reason why can"t it open up them? What have to I execute to fix the problem?

我把这些文件放在正确的目录中,为什么不能打开呢?我该怎么解决这个问题


我要回答
有人评论时请通知我
提交回复 取消
*

Bobyouruncle do awesome commodities

First readjust the complying with parameters:

Tools -> choices -> Debugging -> symbols -> Server -> Yes

Then press Ctrl+F5 and you will certainly see amazing things.

You are watching: Cannot find or open the pdb file. visual studio 2015


answer (2)
first Dec 2017 • 10:15am
*

142037031 make awesome products

Visual Studio neighborhood Edition 2015

Been having this error all day. I finally fixed it by going come Tools>Import and also Export Settings> Reset all alternatives > Reset general Settings.

Once it"s reset go to Tools>Options>Debugging>Symbols> -- Then examine the box alongside Microsoft prize Servers.

Run your application in debug mode, and also it will open up windows saying it"s downloading and install Symbols because that a bunch of various .dll files. Allow it finish doing this.

Once the completes, it have to work again.


reply (2)
first Dec 2017 • 10:15am
*

143207233 making awesome assets

I had the same problem. It transforms out that, translate into a task I gained from someone else, i haven"t set the exactly StartUp task (right click on the preferred startup job in the equipment explorer and also pick "set as StartUp Project"). Probably this will help, cheers.


answer (2)
first Dec 2017 • 10:15am
*

70167003 make awesome products

Referring to the first thread / one more possibility VS cant open or discover pdb document of the procedure is when you have actually your executable to run in the background. Ns was working v mpiexec and ran right into this issue. Always check your task manager and also kill any kind of exec procedure that her gonna construct in her project. When I walk that, that debugged or constructed fine.

Also, if you shot to proceed with the warning , the breakpoints would certainly not be hit and it would not have the existing executable


reply (2)
first Dec 2017 • 10:15am
*

AngelicMusic do awesome commodities

For VS2013 users who uncover themselves here as i did:

Tools -> choices -> Debugging -> icons You"ll check out that the Cache signs in this directory: field is empty; you can either browse/enter the path yourself or just go ahead and also click the fill all signs button. One alert window will show up saying "Since friend haven"t selected a symbol-cache brochure the default will certainly be used". You"ll currently see C:UsersXXXXAppDataLocalTempSymbolCache in the previously empty path-field. Click fill all icons a second time and you should be set. Struggle ok, and just because that the benefits of diligence, clean and also rebuild her solution.


reply (2)
1st Dec 2017 • 10:15am
138204903 do awesome assets

I"ve found that this errors sometimes are from lack of permissions once compiling a job - for this reason I operation as administrator to obtain it to occupational properly.


answer (2)
1st Dec 2017 • 10:15am
143566512 do awesome products

I"m having the very same warnings. I"m not sure it"s a matter of 32 vs 64 bits. Just loaded the new symbols and also some problems were solved, but the ones regarding OpenCV still persist. This is one extract that the output with solved vs unsolved issue:

"OpenCV_helloworld.exe": invited "C:OpenCV2.2inopencv_imgproc220d.dll", Cannot uncover or open the PDB file

"OpenCV_helloworld.exe": loaded "C:WINDOWSsystem32imm32.dll", icons loaded (source details stripped).

The password is exiting 0 in situation someone will certainly ask.

The program "<4424> OpenCV_helloworld.exe: Native" has actually exited v code 0 (0x0).


reply (2)
first Dec 2017 • 10:15am
105228488 making awesome commodities

I had the very same problem. Debugging does not occupational with the stuff that comes v the OpenCV executable. You have to construct your very own binarys.Then permit Microsoft symbol Servers in Debug->options and settings->debug->symbols


reply (2)
1st Dec 2017 • 10:15am
Manchester_United do awesome commodities

I ran right into the exact same issue. When I ran mine Unit test on C++ code, I acquired an error that stated "Cannot discover or open up the PDB file".

Logs

When ns looked in ~ the output log in visual Studio, I witnessed that it was looking in the not correct folder. I had actually renamed the WinUnit folder, yet something in the WinUnit password was in search of the PDB file using the old folder name. Ns guess they hard-coded it.

Found the Problem

When I very first downloaded and also unzipped the WinUnit files, the key folder was referred to as "WinUnit-1.2.0909.1". After i unzipped the file, i renamed the folder to "WinUnit" because it"s simpler to kind during intuitive Studio project setup. However apparently this broke the ability to find the PDB file, even though ns setup whatever according to the WinUnit documentation.

My Fix

I readjusted the folder name earlier to the original, and it works.

Weird.


reply (2)
first Dec 2017 • 10:15am
ERROR do awesome assets

Had the same problem here but a different solution worked.

See more: Your Mission Should You Choose To Accept It, Your Mission, Should You Choose To Accept It

First, ns tried the following, none of i m sorry worked:

Load signs as suggested by seanlitow

Remove/Add referral to PresentationFramework and PresentationCore

Restart mechanism

The equipment was come undo the last couple of changes I had made to mine code. I had actually just added a couple radio buttons and event handlers because that checked and unchecked events. After ~ removing mine recent transforms everything compiled. I then included my exact changes back and every little thing compiled properly. Ns don"t recognize why this functioned - only thing I can think that is a trouble with my VS Solution. Anyway, if none of the various other suggestions work, girlfriend might try reverting earlier your many recent changes. NOTE: if friend close & re-open visual Studio her undo background is lost.. So girlfriend might try this prior to you nearby VS.


answer (2)
1st Dec 2017 • 10:15am
*
提示
内容来源于网络,仅用于大数据研究机器学习用,不得转载及用于商业用途
Tags标签
所有标签 ›
*
globalunicom.com