Solved

open GL drives

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

617 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