?
Solved

OpenGL in C++Builder

Posted on 1997-07-08
2
Medium Priority
?
445 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
[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 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 300 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

765 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