Solved

open GL drives

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
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.

746 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now