Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

open GL drives

Posted on 2003-11-14
3
Medium Priority
?
389 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 750 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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.
Suggested Courses

722 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