Solved

OpenGL in C++Builder

Posted on 1997-07-08
2
441 Views
Last Modified: 2008-03-06
Hi there!

I'm still pretty new at doing RAD with C++ Builder.  Does anyone know how to incorporate Opengl's auxiliary library into C++ Builder??  I need it to call a window to do 3D rendering.  Usually, this is done by calling auxInitWindow, auxInitPosition, blah, blah.

The gl.h, glu.h and glaux.h header files are available in C++Builder, but apparently, the opengl32.lib file included in the package does not define the functions prototyped in glaux.h... hence, a linker error always occurs when any of the auxiliary functions are called.

Help anyone??
Thanks!!

David
0
Comment
Question by:davidau
2 Comments
 
LVL 15

Expert Comment

by:Tommy Hui
ID: 1164570
I recall there was another library associated with OpenGL called glaux.lib. See if that's there and make sure you link in that library as well.
0
 
LVL 9

Accepted Solution

by:
Pacman earned 100 total points
ID: 1164571
That's true. Alle the aux functions are stored in a static library called glaux.lib.
Because the aux-library is a platform independent extension of OpenGL an not a part of it, you must get the library from your compiler vendor.
Unfortunately Borland doesn't ship this library with their compilers ...
I had the same problem and finally got the library from the CD of a book. The book is called OpenGL Superbible, it's US $59.99 and from Waite Group Press. Maybe you can find it in a library ...

regards
Pacman
0

Featured Post

Technology Partners: 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

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…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
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.

679 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