PDA

View Full Version : LINKER ERROR



bolo
04-23-2003, 02:58 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 !!!

04-23-2003, 05:33 AM
You could (and should) just avoid the use of glaux altogether. Look into DevIL library, or find out how to load images without glaux.

nexusone
04-23-2003, 05:42 AM
Are you using the same compiler at school and home?



Originally posted by bolo:
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 !!!

HalcyonBlaze
04-23-2003, 12:49 PM
I'm not 100% sure on this. I'm probably wrong, but just somethign to try: Take the .lib off of the glaux.lib. I never put that there.

- Halcyon