PC Review


Reply
Thread Tools Rate Thread

compiler errors

 
 
Z.K.
Guest
Posts: n/a
 
      11th Apr 2006
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.


 
Reply With Quote
 
 
 
 
Arnaud Debaene
Guest
Posts: n/a
 
      11th Apr 2006
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


 
Reply With Quote
 
Marcus Heege
Guest
Posts: n/a
 
      12th Apr 2006
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." <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>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.
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom compiler errors Erik Microsoft C# .NET 1 25th Mar 2009 02:54 AM
compiler errors cmrchs@yahoo.com Microsoft VC .NET 0 21st Jun 2005 10:31 AM
vbc.exe compiler errors David Delgado Microsoft Dot NET Framework 1 22nd Jun 2004 10:52 AM
Re: Compiler Errors Douglas J. Steele Microsoft Access VBA Modules 4 18th Apr 2004 12:04 PM
Re: VB.Net compiler Errors Herfried K. Wagner [MVP] Microsoft VB .NET 4 29th Aug 2003 08:22 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:01 PM.