To get error when run some Graphic samples. "Unit GLaux"

Dear advisor !

I use Delphi 2006.

i am learning to develope game. So i dowload sample from http://nehe.gamedev.net/.

But i get rror when run some graphic samples at Lessons.

program lesson11a;

{   kód pro Delphi 7}

uses
  Windows,
  Messages,
  OpenGL,sysutils,
  GLaux;

Error : File not found  GLaux.dcu.

There are some samples use  Unit GLaux.
Please show me how to configure. I want to that sample run perfects. That helphs me more understand about the code.

Thank for all consider
namcit99Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Kyle FosterCEOCommented:
I don't know that exact sample, but here are the things that can cause the error.

GLaux.pas or ( if you don't have the source then GLaux.dcu) is not in the library path for Delphi so it can't find it.
Go to Tools | Environment Options

click on the Library tab and the button with elipsis ... next to the Library Path.  Make sure that the path to the GLaux.xxx file is in the list of paths.


OR

tje file  GLaux.dcu or .pas is not part of the samle and you will have to get it somewhere else.  Not sure about the OpenGL classes or where to get them.  You should be able to get them from the same site that you got the sample.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
namcit99Author Commented:

thank for your help.

I will move this question to Game Dev to get more consultant.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.