Solved

open GL drives

Posted on 2003-11-14
3
386 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 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

Independent Software Vendors: 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

IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

752 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