473,655 Members | 3,112 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Where to start on an error?

Hi,

I am trying to build a project in VC++ Express but am getting the
following errors:

arena.obj : error LNK2019: unresolved external symbol
___glutInitWith Exit@12 referenced in function _glutInit_ATEXI T_HACK@8
arena.obj : error LNK2019: unresolved external symbol
___glutCreateWi ndowWithExit@8 referenced in function
_glutCreateWind ow_ATEXIT_HACK@ 4
.../wbin/Arena.exe : fatal error LNK1120: 2 unresolved externals

In general, how should one start on a seemingly obscure errors like
this? (obscure to me at least)

-Jimmy

Nov 25 '05 #1
3 3193
Hi,

Link errors are usually the most difficult ones.

However looking at the errors you have to add something like glut.lib to
additional libraries in your project and add the path to the library in your
project (I don't know the exact name since I never used openGL myself but
just search for *.lib to see what matches.

--
Regards, Ron AF Greve

http://moonlit.xs4all.nl

"jimmy" <ji**********@g mail.com> wrote in message
news:11******** *************@g 49g2000cwa.goog legroups.com...
Hi,

I am trying to build a project in VC++ Express but am getting the
following errors:

arena.obj : error LNK2019: unresolved external symbol
___glutInitWith Exit@12 referenced in function _glutInit_ATEXI T_HACK@8
arena.obj : error LNK2019: unresolved external symbol
___glutCreateWi ndowWithExit@8 referenced in function
_glutCreateWind ow_ATEXIT_HACK@ 4
../wbin/Arena.exe : fatal error LNK1120: 2 unresolved externals

In general, how should one start on a seemingly obscure errors like
this? (obscure to me at least)

-Jimmy

Nov 25 '05 #2
On 24 Nov 2005 22:03:56 -0800, "jimmy" <ji**********@g mail.com> wrote:
Hi,

I am trying to build a project in VC++ Express but am getting the
following errors:

arena.obj : error LNK2019: unresolved external symbol
___glutInitWit hExit@12 referenced in function _glutInit_ATEXI T_HACK@8
arena.obj : error LNK2019: unresolved external symbol
___glutCreateW indowWithExit@8 referenced in function
_glutCreateWin dow_ATEXIT_HACK @4
../wbin/Arena.exe : fatal error LNK1120: 2 unresolved externals

In general, how should one start on a seemingly obscure errors like
this? (obscure to me at least)

-Jimmy


Since this has nothing to do with the C++ language, your question is
off-topic for this newsgroup. Any further questions about this would
be better off in one of the Microsoft newsgroups where you are likely
to get answers.

Looks like you are missing a *.lib file or haven't added it to the
project.

--
Bob Hairgrove
No**********@Ho me.com
Nov 25 '05 #3
It seems that your project doesn't link glut32.lib (win32 platform).
If there is no glut library(.lib,.h ,.dll) installed in your machine,go
to http://www.xmission.com/~nate/glut.html to get the latest glut
library.
If there is glut library installed in your mahine already, add
#pragma comment(lib,"gl ut32.lib") somewhere (always in stdafx.h) in
your project, which make your project link the glut32.lib.
-Jerry

Nov 25 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1972
by: Nat | last post by:
Hi there, I have code as following but it returns error Error Type: Microsoft VBScript compilation (0x800A03F6) Expected 'End' /urbisjhdintranet/metadata/resultList.asp, line 324 which is the second last line at the end of the code. I have no idea where to put 'end'. It would be great if anyone could help. Thanks heaps! Nat
18
526
by: jabailo | last post by:
I wrote a program that loops through a file of records. It parses each line in the file and sends them to a web service that inserts them into an AS400DB2 database using Asynch calls. This is the wierd part. Say their are 500 records in the file. If I run the process once, maybe 250 will appear. If I run it a second time, maybe 400 or all the records will appear.
7
1866
by: Mr. Mountain | last post by:
In the following code I simulate work being done on different threads by sleeping a couple methods for about 40 ms. However, some of these methods that should finish in about 40 -80 ms take as long as 2300 ms to complete. This is fairly rare, but the test code below will definitely show it. Somehow, I must not have my design right. The idea of this code is that I do two different types of processing ( 1-starting and 2-ending) based on...
5
1022
by: Charax | last post by:
I'm absolutely brand new to ASP. I got a copy of ASP.NET for Dummies, coded the sample first page in FrontPage, but it won't run on my localhost server, using the IE6 browser to view it. I have WinXP Pro, Office 2003 for Developers installed. IIS is installed, as is SQL Server. Also installed Visual Studio.NET for Office. I've looked at the FAQs, but they all seem to start with the assumption that ASP.NET is installed and working. Where...
0
931
by: darrel | last post by:
I've been working on a ASP.NET project with a co-worker. We each have a local copy running on localhost and we upload changes to a staging server. Not ideal, but it's what we have for our set up right now. He prefers VS.NET, I prefer MM Dreamweaver. Things were going fine until recently when it became apparent that I need to run VS.NET too (even though I'll stil use MM Dreamweaver for a lot of stuff). So, at this point, we decided to...
2
5128
by: Ceebaby via AccessMonster.com | last post by:
Hi Folks I wondered if someone could point me in the right direction before I completely tear my hair out. I have a user selection form where options can be selected for a report. Users now want to also filter the options by date selections or not if they wish. I added to unbound text fields to input the start and end dates and inserted them into my str Where code. It was working fine until the these were added.
8
1577
by: jmDesktop | last post by:
I have been to the main python site, but am still confused. I have been using .net, so it may be obvious how to do this to everyone else. I am aware there are various frameworks (Django, Pylons, etc.), but I would like to know how to create web pages without these. If I have mod_python or fastcgi on apache, where do I start? I don't have clue where to begin to create a web page from scratch in python. I am sure I will want to access...
37
2589
by: Phlip | last post by:
1230987za wrote: Kanze is a classically-trained "unit tester". In some circles "unit" is a QA concept - specifically, if a test fails, you only need to inspect one unit. So "units" are "things which are clearly delimited and accessible to inspection". That should map onto C++ classes - specifically due to overlapping requirements. C++ classes _should_ be "things which are clearly delimited and accessible to inspection". Yet...
2
2853
by: slapsh0t11 | last post by:
So, I've been working on this Game of Life (http://www.bitstorm.org/gameoflife/) project, and all the code has been written. However, it will not run. First, I will post the error message and the fragment of code I think to be the cause of the problem. Then, I will post the code to all 3 of my java files in their entirety should you wish to reference them. Any help would be much appreciated. Also, if it would help fix my error, I would...
0
8296
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
8816
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8497
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
8598
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
7310
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
4150
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
1928
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1598
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.