Visual c++ lỗi cannot find or open the pdb file năm 2024

Visual c++ lỗi cannot find or open the pdb file năm 2024

lokeshrocks Thu, 06/16/2011 - 13:19

I am running the following code in visual studio 2010 as win32 console application:

include

include

include

include

using namespace std;

Standard_Integer main() { STEPControl_Reader reader; reader.ReadFile("C:\Users\..\cylinder.stp");

// Loads file MyFile.stp Standard_Integer NbRoots = reader.NbRootsForTransfer();

// gets the number of transferable roots cout }

It shows the following error : C:\Windows\SysWOW64\ntdll.dll', Cannot find or open the PDB file Loaded 'C:\Windows\SysWOW64\kernel32.dll', Cannot find or open the PDB file Loaded 'C:\Windows\SysWOW64\KernelBase.dll', Cannot find or open the PDB file Loaded 'C:\OpenCASCADE6.5.0\ros\win32\vc8\bin\TKernel.dll', Binary was not built .... ....

and the says "The program cannot start because tbbmalloc.dll is missing from your coumputer. try reinstalling the program to fix this problem." The command window appears though without any output.

I tried 'http://www.opencascade.org/org/forum/thread_20376/' but there was no change.

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

Confindential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

I'm using Visual Studio 2013. My problem is every time when i want to run my C/C++ codes using local windows debugger error will occurred.

Cannot find or open the pdb file. I have checklist the Microsoft Symbol Server, or download the PDB file ( 600mb size ) and install it on my local hardrive. And i did add the path to my PDB file on my local hardrive.

Yet still error.

here the list of error.

'STACK-StrukturData.exe' (Win32): Loaded 'C:\Users\Cr7Pramana\Desktop\VStudio\STACK-StrukturData\Debug\STACK-StrukturData.exe'. Symbols loaded. 'STACK-StrukturData.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Cannot find or open the PDB file. 'STACK-StrukturData.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel32.dll'. Cannot find or open the PDB file. 'STACK-StrukturData.exe' (Win32): Loaded 'C:\Windows\SysWOW64\KernelBase.dll'. Cannot find or open the PDB file. 'STACK-StrukturData.exe' (Win32): Loaded 'C:\Windows\SysWOW64\mfc120ud.dll'. Cannot find or open the PDB file. 'STACK-StrukturData.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcr120d.dll'. Cannot find or open the PDB file. 'STACK-StrukturData.exe' (Win32): Loaded 'C:\Windows\SysWOW64\user32.dll'. Cannot find or open the PDB file. 'STACK-StrukturData.exe' (Win32): Loaded 'C:\Windows\SysWOW64\oleaut32.dll'. Cannot find or open the PDB file. 'STACK-StrukturData.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcp120d.dll'. Cannot find or open the PDB file. 'STACK-StrukturData.exe' (Win32): Loaded 'C:\Windows\SysWOW64\advapi32.dll'. Cannot find or open the PDB file. 'STACK-StrukturData.exe' (Win32): Loaded 'C:\Windows\SysWOW64\gdi32.dll'. Cannot find or open the PDB file. 'STACK-StrukturData.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ole32.dll'. Cannot find or open the PDB file. 'STACK-StrukturData.exe' (Win32): Loaded 'C:\Windows\SysWOW64\shlwapi.dll'. Cannot find or open the PDB file. 'STACK-StrukturData.exe' (Win32): Loaded 'C:\Windows\SysWOW64\imm32.dll'. Cannot find or open the PDB file. 'STACK-StrukturData.exe' (Win32): Loaded 'C:\Windows\SysWOW64\uxtheme.dll'. Cannot find or open the PDB file. 'STACK-StrukturData.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcrt.dll'. Cannot find or open the PDB file. 'STACK-StrukturData.exe' (Win32): Loaded 'C:\Windows\SysWOW64\combase.dll'. Cannot find or open the PDB file. 'STACK-StrukturData.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rpcrt4.dll'. Cannot find or open the PDB file. 'STACK-StrukturData.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sechost.dll'. Cannot find or open the PDB file. 'STACK-StrukturData.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msctf.dll'. Cannot find or open the PDB file. 'STACK-StrukturData.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sspicli.dll'. Cannot find or open the PDB file. 'STACK-StrukturData.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cryptbase.dll'. Cannot find or open the PDB file. 'STACK-StrukturData.exe' (Win32): Loaded 'C:\Windows\SysWOW64\bcryptprimitives.dll'. Cannot find or open the PDB file. The program '[6332] STACK-StrukturData.exe' has exited with code 0 (0x0).

Seems my Visual Studio still load the PDB file from Windows\SysWOW64. Then how do i change the load address ?

Thank You

Updated 16-Dec-20 15:19pm


These are not errors but informational messages. They tell you that there are no symbol (.pdb) files for the DLL's loaded by your app. But the symbols for your app has been loaded (see the first message).

Such PDB files are created when building your app. Because the system DLL's are not build by you, you did not get the corresponding PDB files. You don't need them because you usually want to debug your code and not the code of system DLLs.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)