LINKER ERROR

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 !!!

You could (and should) just avoid the use of glaux altogether. Look into DevIL library, or find out how to load images without glaux.

Are you using the same compiler at school and home?

Originally posted by bolo:
[b] 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 !!![/b]

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