I am running the following code in visual studio 2010 as win32 console application:
using namespace std;
// Loads file MyFile.stp
Standard_Integer NbRoots = reader.NbRootsForTransfer();
// gets the number of transferable roots
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.