473,396 Members | 2,129 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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 4829
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: jon morgan | last post by:
OK, I'm going to be brave. There is a bug in VS.Net 1.1 that causes random compiler errors. I have raised this issue in posts at least three time in the past couple of months without attracting...
30
by: Neil Zanella | last post by:
Hello, Allow me to share my frustrations with GNU g++. This is the second time something similar happens to me: I can't find anything wrong with my C++ program and yet I get segfaults, and...
10
by: Bjorn | last post by:
I'm using interfaces in C++ by declaring classes with only pure virtual methods. If then someone wants to implement the interface they needs to inherit from the class. If the implementing class...
2
by: Mary | last post by:
Hello, I am having a problem with the cl compiler. I have written a C class (RegConnect.c) which uses Win32 API functions such as RegOpenKey, RegCloseKey etc. Initially when I was trying to...
16
by: pj | last post by:
(Was originally, probably wrongly, posted to the vc subgroup.) (This doesn't appear to be a c# problem, but a problem with a bug in the Visual Studio c# compiler, but, any help will be welcome...)...
6
by: David Lack | last post by:
Hi, I recently installed a 60-day trial of .NET 2003 on my development system. I made tests with previous personal projects (which compiled ok with VC6) and some open source files, and keep...
2
by: Samuel R. Neff | last post by:
Within the past few weeks we've been getting a lot of compiler errors in two classes when no errors actually exist. The error always reports as Name '_stepResizeRelocator' is not declared. ...
1
by: Peter Wilson | last post by:
I am running a VB.Net conversion project and have run into a severe problem compiling the application. The project has a main project with about one hundreds forms. (Did I say badly structured?) ...
14
by: 2005 | last post by:
Would it suppress errors? Is he trying to hide errors in his code?
8
by: =?GB2312?B?yum09MXt?= | last post by:
today I forgot to include some header,then I found the error message by the compiler is quite strange. so I want to know exactly the inner details of the compiler impletation,if possible. and I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.