http://GameProgrammer.Com

Programming

GP Mailing List
     Thread Index
     Date Index

ATXGPSIG List
     Thread Index
     Date Index

Google
>

Home

Wise2Food



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Borland and OpenGL



I've been toying around with the opengl API in borland over the past few
days, mainly following the NeHe tutorials (http://nehe.gamedev.net).
Anyway I got to the section where you put a texture on a set of quads drawn
on the screen using glGenTexture, glBindTexture and their associated
functions. When I try to run this app (specifically the lesson16 in this
case but some earlier ones as well) I got the following errors:

[C++Error] Project2.cpp(77): Call to undefined function 'glGenTextures'.
[C++Error] Project2.cpp(80): Call to undefined function 'glBindTexture'.
[C++Error] Project2.cpp(169): Call to undefined function 'glBindTexture'.

(Those line numbers should work on a d/led copy of NeHe's c++ source for
that lesson, I haven't modified it yet)

Now I assume for this I am missing a library (all the headers are there),
now what I'm wondering is where I can get a copy of glaux.lib for the
borland c++ builder compiler? (This is the library file I believe I need) I
have opengl32.lib, and glu32.lib but not guax.lib.

I did dabble in opengl once before and I am sure I never had this problem so
any help appreciated here. If there is a dll in my windows dir I've missed
that I could use IMPLIB on to get the library than that would be handy,
basically any help welcome.

I'm using C++ Builder 3, I know it is old and I suppose newer versions might
have these library files with them but for the moment it has been suiting my
purposes. (On an aside though are there any worries with ANSI compliance
using this older version?)

Steve Gordon

==^================================================================
This email was sent to: list@gameprogrammer.com

EASY UNSUBSCRIBE click here: http://topica.com/u/?bUrGcz.bV8N8c
Or send an email to: gameprogrammer-unsubscribe@topica.com

T O P I C A -- Register now to manage your mail!
http://www.topica.com/partner/tag02/register
==^================================================================