LinkerError

If I try to launch any program with OpenGL, something like this appeared:
[LinkerError]Unresolved External ‘auxInitDisplayMode’ referenced from ‘…\file.obj’
I’m absolutely sure that all needed files are included well. I suppose it happened because I have not installed c++ builder in a default directory, what’s more, I have installed it in another phisical disc.
What’s the problem ??? (I heard it can be set some options in Builder).
Please send me the answer to
mailto:bolob@o2.pl
Thanks

you need to link with the glaux library. The easiest way to do this is
#pragma comment(lib, “glaux.lib”)
however, the standerd glaux.lib does not work with Borland’s compiler, and glaux is an old library anyway. You might be better off switching to GLUT or GLFW.

Originally posted by ican’tremembermyusername:
you need to link with the glaux library. The easiest way to do this is
#pragma comment(lib, “glaux.lib”)
however, the standerd glaux.lib does not work with Borland’s compiler, and glaux is an old library anyway. You might be better off switching to GLUT or GLFW.

I have written it my programs. In my Technical University everything works well (we also use Borland’s compiler). I’m sure it happened because of my not default directory, where Builder is installed.