Solved

open GL drives

Posted on 2003-11-14
3
385 Views
Last Modified: 2012-06-21
hi.
i have v.s.6 and for some reason i cant build an OpenGl file.when i try, iget these errors:

Messages.obj : error LNK2001: unresolved external symbol __imp__glFlush@0
Messages.obj : error LNK2001: unresolved external symbol __imp__glClear@4
Messages.obj : error LNK2001: unresolved external symbol __imp__glClearColor@16
Messages.obj : error LNK2001: unresolved external symbol _glutMainLoop@0
Messages.obj : error LNK2001: unresolved external symbol _glutIdleFunc@4
Messages.obj : error LNK2001: unresolved external symbol _glutKeyboardFunc@4
Messages.obj : error LNK2001: unresolved external symbol _glutDisplayFunc@4
Messages.obj : error LNK2001: unresolved external symbol _glutCreateWindow@4
Messages.obj : error LNK2001: unresolved external symbol _glutInitWindowPosition@8
Messages.obj : error LNK2001: unresolved external symbol _glutInitWindowSize@8
Messages.obj : error LNK2001: unresolved external symbol _glutInitDisplayMode@4
Messages.obj : error LNK2001: unresolved external symbol _glutInit@8
Debug/Messages.exe : fatal error LNK1120: 12 unresolved externals
Error executing link.exe.

i have lgut.h,glut32.dll and glut32.lib installed in the right places.
why cant i build the file??
please this is urgent since i have some HW to do for coming tuesday (18/11).

yair
0
Comment
Question by:yabelson
  • 2
3 Comments
 
LVL 48

Expert Comment

by:AlexFM
ID: 9747158
Add Opengl32.lib and glut32.lib to the project Link options.
0
 
LVL 1

Author Comment

by:yabelson
ID: 9772671
how do i do that?
0
 
LVL 48

Accepted Solution

by:
AlexFM earned 250 total points
ID: 9773380
In VC++ 6 open Project - Settings - Link and type
Opengl32.lib glut32.lib
in Library modules edit box.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SetCurrentDirectory path limit 7 144
How to split this in C++ 4 117
max float value 3 59
Why isn't object file created? 6 86
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question