473,657 Members | 2,932 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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\P hidgets\Acceler ometer\Accelero meter\Debug\Acc elerometer.exe' ,
Symbols loaded.

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

'Accelerometer. exe': Loaded 'C:\WINNT\syste m32\phidget20.d ll', No symbols
loaded.

'Accelerometer. exe': Loaded 'C:\WINNT\syste m32\KERNEL32.DL L', Cannot find or
open a required DBG file.

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

'Accelerometer. exe': Loaded 'C:\WINNT\syste m32\ADVAPI32.DL L', Cannot find or
open a required DBG file.

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

'Accelerometer. exe': Loaded 'C:\WINNT\syste m32\SETUPAPI.DL L', Cannot find or
open a required DBG file.

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

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

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

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

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

'Accelerometer. exe': Loaded 'C:\WINNT\syste m32\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 4859
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******** ******@TK2MSFTN GP04.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\P hidgets\Acceler ometer\Accelero meter\Debug\Acc elerometer.exe' ,
Symbols loaded.

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

'Accelerometer. exe': Loaded 'C:\WINNT\syste m32\phidget20.d ll', No symbols
loaded.

'Accelerometer. exe': Loaded 'C:\WINNT\syste m32\KERNEL32.DL L', Cannot find
or
open a required DBG file.

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

'Accelerometer. exe': Loaded 'C:\WINNT\syste m32\ADVAPI32.DL L', Cannot find
or
open a required DBG file.

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

'Accelerometer. exe': Loaded 'C:\WINNT\syste m32\SETUPAPI.DL L', Cannot find
or
open a required DBG file.

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

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

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

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

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

'Accelerometer. exe': Loaded 'C:\WINNT\syste m32\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\P hidgets\Acceler ometer\Accelero meter\Debug\Acc elerometer.exe' ,
Symbols loaded.

'Accelerometer. exe': Loaded 'C:\WINNT\syste m32\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.publi c.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
1887
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 much interest. But it's driving me nuts. Here's what happens. I'm working on a multi project VB app. happily writing nice inoffensive code - go to compile and the compiler tells me there's a problem in a project I'm not working on. But really...
30
2940
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 eventually, here is what happens. Anyone ever experience anything similar. This or similar untrackable problems happen to me whenever I write a large class... anyone have had similar experiences??? make
10
2551
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 forgets to implement some method I normally get a compile error(if the class is created in some way of course). When using the Visual Studio 6 compiler however, it does not generate a compile error in this case: - I have a implementing class A...
2
5829
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 create a dll, using the cl compiler I was getting many unresolved external errors, Example 1 below (8 in total, 7 to do with the registry function calls and 1 from wsprintfA call) as I hadn't included the AdvAPI32.lib file. So I created a LINK...
16
2846
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...) Oh, I forgot to list the error messages; I would be delighted if someone could explain how to deduce which line number in which file is the one that the VC compiler cannot handle. Actually I'm using C#, but the only post I could find about...
6
2723
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 facing the same problem with many of them: I keep getting errors such as: ....\WinUser.h(8028): fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 2701)
2
1568
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. Where _stepResizeRelocator is an instance (class level) variable. There is no compiler error on the declaration of the variable, only on use. Tthe name of the variable which causes the error changes.
1
1914
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?) The number of compiler errors is limited to 100 approx. These errors from various forms all relate to a missing shared component which references everything else in sight (VB6 rules!). "SharedComponentX is not a member of NamespaceY" I never...
14
1872
by: 2005 | last post by:
Would it suppress errors? Is he trying to hide errors in his code?
8
2443
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 want to know what does the standard say about this situation. here is the code just to demonstrate the error.
0
8302
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8718
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8499
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8601
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7314
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6162
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5630
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4300
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2726
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.