470,826 Members | 1,950 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,826 developers. It's quick & easy.

compiler errors

I am new to the Visual Studio.net platform and I was trying to compile a
program that I downloaded from the net and keep getting a ton of errors. It
looks like it can't find some of the libraries: The list of errors is below:

'Accelerometer.exe': Loaded
'C:\Downloads\Phidgets\Accelerometer\Accelerometer \Debug\Accelerometer.exe',
Symbols loaded.

'Accelerometer.exe': Loaded 'C:\WINNT\system32\NTDLL.DLL', Cannot find or
open a required DBG file.

'Accelerometer.exe': Loaded 'C:\WINNT\system32\phidget20.dll', No symbols
loaded.

'Accelerometer.exe': Loaded 'C:\WINNT\system32\KERNEL32.DLL', Cannot find or
open a required DBG file.

'Accelerometer.exe': Loaded 'C:\WINNT\system32\hid.dll', Cannot find or open
a required DBG file.

'Accelerometer.exe': Loaded 'C:\WINNT\system32\ADVAPI32.DLL', Cannot find or
open a required DBG file.

'Accelerometer.exe': Loaded 'C:\WINNT\system32\rpcrt4.dll', Cannot find or
open a required DBG file.

'Accelerometer.exe': Loaded 'C:\WINNT\system32\SETUPAPI.DLL', Cannot find or
open a required DBG file.

'Accelerometer.exe': Loaded 'C:\WINNT\system32\msvcrt.dll', No symbols
loaded.

'Accelerometer.exe': Loaded 'C:\WINNT\system32\GDI32.DLL', Cannot find or
open a required DBG file.

'Accelerometer.exe': Loaded 'C:\WINNT\system32\USER32.DLL', Cannot find or
open a required DBG file.

'Accelerometer.exe': Loaded 'C:\WINNT\system32\USERENV.DLL', Cannot find or
open a required DBG file.

'Accelerometer.exe': Loaded 'C:\WINNT\system32\ws2_32.dll', Cannot find or
open a required DBG file.

'Accelerometer.exe': Loaded 'C:\WINNT\system32\ws2help.dll', Cannot find or
open a required DBG file.

Debugger:: An unhandled non-continuable exception was thrown during process
load

The program '[320] Accelerometer.e: Native' has exited with code 128 (0x80).
What is a DBG File and how do I set up the compiler to so I won't get these
errors?

Thanks,

Z.K.
Apr 11 '06 #1
2 4641
These are not build time errors but debug time messages.

..dbg files are files with debug symbols. They are used by the debugger to
provide better information at debug-time. If you don't debug too deep into
the system it is likely ok for you to live without debug symbols for the
system DLLs. If you really need them, you can install them explicitly or on
demand from a so called symbol server.

Marcus Heege
"Z.K." <no****@nospam.net> wrote in message
news:Os**************@TK2MSFTNGP04.phx.gbl...
I am new to the Visual Studio.net platform and I was trying to compile a
program that I downloaded from the net and keep getting a ton of errors.
It
looks like it can't find some of the libraries: The list of errors is
below:

'Accelerometer.exe': Loaded
'C:\Downloads\Phidgets\Accelerometer\Accelerometer \Debug\Accelerometer.exe',
Symbols loaded.

'Accelerometer.exe': Loaded 'C:\WINNT\system32\NTDLL.DLL', Cannot find or
open a required DBG file.

'Accelerometer.exe': Loaded 'C:\WINNT\system32\phidget20.dll', No symbols
loaded.

'Accelerometer.exe': Loaded 'C:\WINNT\system32\KERNEL32.DLL', Cannot find
or
open a required DBG file.

'Accelerometer.exe': Loaded 'C:\WINNT\system32\hid.dll', Cannot find or
open
a required DBG file.

'Accelerometer.exe': Loaded 'C:\WINNT\system32\ADVAPI32.DLL', Cannot find
or
open a required DBG file.

'Accelerometer.exe': Loaded 'C:\WINNT\system32\rpcrt4.dll', Cannot find or
open a required DBG file.

'Accelerometer.exe': Loaded 'C:\WINNT\system32\SETUPAPI.DLL', Cannot find
or
open a required DBG file.

'Accelerometer.exe': Loaded 'C:\WINNT\system32\msvcrt.dll', No symbols
loaded.

'Accelerometer.exe': Loaded 'C:\WINNT\system32\GDI32.DLL', Cannot find or
open a required DBG file.

'Accelerometer.exe': Loaded 'C:\WINNT\system32\USER32.DLL', Cannot find or
open a required DBG file.

'Accelerometer.exe': Loaded 'C:\WINNT\system32\USERENV.DLL', Cannot find
or
open a required DBG file.

'Accelerometer.exe': Loaded 'C:\WINNT\system32\ws2_32.dll', Cannot find or
open a required DBG file.

'Accelerometer.exe': Loaded 'C:\WINNT\system32\ws2help.dll', Cannot find
or
open a required DBG file.

Debugger:: An unhandled non-continuable exception was thrown during
process
load

The program '[320] Accelerometer.e: Native' has exited with code 128
(0x80).
What is a DBG File and how do I set up the compiler to so I won't get
these
errors?

Thanks,

Z.K.

Apr 12 '06 #2
Z.K. wrote:
I am new to the Visual Studio.net platform and I was trying to
compile a program that I downloaded from the net and keep getting a
ton of errors. It looks like it can't find some of the libraries:
The list of errors is below:

'Accelerometer.exe': Loaded
'C:\Downloads\Phidgets\Accelerometer\Accelerometer \Debug\Accelerometer.exe',
Symbols loaded.

'Accelerometer.exe': Loaded 'C:\WINNT\system32\NTDLL.DLL', Cannot
find or open a required DBG file.
<snip> The program '[320] Accelerometer.e: Native' has exited with code 128
(0x80).
What is a DBG File and how do I set up the compiler to so I won't get
these errors?


The DBG file (which most often are pdb files nowadays) contains the
debugging information (or symbols) necessary to do source code step-by-step
debugging (eg, given the compiled binary, go back to the sources, with line
numbers and all). The debugger is just warning you that it can't find the
symbols for the OS libraries that are loaded in your process. Since it is
highly unlikely that the error comes from the OS, you can ignore those
informations for now.

Now, according to the output you gave, there is no error in your program! It
just exits with code 0x80 when it has done it's job! What it means exactly
depends on the program itself : 0x80 is probably an error code corresponding
to a specific logical error, but it is a design from the program writer, so
we can't say anything for sure wihout the sources.

Your best bet is to put a breakpoint at the beginning of the "main"
function, laucnh the program under debugger (F5), and then run the process
step-by-step under the debugger to understand what happens.

Since it seems that your program is native C++, further questions are more
likely to get answers in microsoft.public.vc.language

Arnaud
MVP - VC
Apr 12 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by jon morgan | last post: by
30 posts views Thread by Neil Zanella | last post: by
10 posts views Thread by Bjorn | last post: by
2 posts views Thread by Mary | last post: by
1 post views Thread by Peter Wilson | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.