View Full Version : Linker Error

04-29-2003, 12:24 AM
I've included glaux.lib to my project.
I've done the following steps:
1.generate the glaux.lib using the run command.
implib.exe glaux.lib glaux.dll
2.the glaux.lib file I moved to folder /Lib
3.in my project I added the line: #include <GL\glaux.h> and also
#pragma comment (lib,"glaux.lib")
And if I try to compile any project the linker error appears, something like this:
[Linker Error] Unresolved external'auxDisplayMode'referenced from ...\file.obj
The same project works well at school.
You know I don't have a clue what's the hell's goin' on !!!
btw. I use Borland C++ Builder 6(like at school)
I also tried to use the glut library in my project and the linker alse appear (unresolved external'glut...')
I think the problem is because my Borland C++ is not installed in a default directory(whats more it is installed in another phisical disc)
Maybe there are some options which I have to set int Borland ???

04-29-2003, 02:15 PM
I had such a problem. I'm using Borland C++ 6 writing graduation dissertation. Try to include:
#include <gl\gl.h>
#include <gl\glu.h>

or delete curent form and create new form.

04-29-2003, 02:19 PM
if you want i can send you a simple code: lines in a form