Cannot find or open the PDB file error

The following code runs nicely, however after running the program i receive the error: 'ConsoleApplication55.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Cannot find or open the PDB file.


#include "stdafx.h"
#include <iostream>
using namespace std;
int main()
{
int feet, inches;
double cm;
bool goodData = false;
while (!goodData)
{
try
{
cout << "PLease enter a positive length in feet: ";
if (!(cin >> feet))
throw 1;
else if (feet<0)
throw 2;
else
goodData = true;
}

catch (int n)
{
if (n == 1)
{
cout << "non number entered\n";
cin.clear();
cin.ignore(80, '\n');
}
else
cout << "Please enter a positive integer!\n";

}
}
goodData = false;
while (!goodData)
{
try
{
cout << "PLease enter a positive length in inches: ";
if (!(cin >> inches))
throw 1;
else if (inches<0)
throw 2;
else
goodData = true;
}

catch (int n)
{
if (n == 1)
{
cout << "non number entered\n";
cin.clear();
cin.ignore(80, '\n');
}
else
cout << "Please enter a positive integer!\n";

}
}
cout << feet << " feet " << inches << " inches =";
inches = inches + feet * 12;
cm = inches * 2.54;
cout << cm << " centimeters\n";
system("pause");
return 0;
}
I assume you're using Visual Studio?

This SO post might be what you want: https://stackoverflow.com/questions/12954821/cannot-find-or-open-the-pdb-file-in-visual-studio-c-2010

It's written for Visual Studio 2010, but the directions should still apply to later versions with some minor adjustments.
That's not an error, it's just letting you know it can't find the debug symbols for a system library. You don't need them and it has nothing to do with your code.
Last edited on
Topic archived. No new replies allowed.