View Full Version : Unresolved Externals
01-30-2001, 12:57 PM
I always get them when I try to compile (every glut...-function, e. g. glutInit ). And I DID include the header files windows.h and glut.h . What the ")§( am I screwing up?
I am using BC++ 5.0 on a win32 platform.
[This message has been edited by Wolfling (edited 01-30-2001).]
01-30-2001, 01:23 PM
You need to link the GLUT library.
01-30-2001, 01:39 PM
Sounds like a good idea, but how to do so? In MSVC++ there was a nice options page, but I can't find anything similar in my compiler.
01-31-2001, 05:56 AM
Ups - I found out. Gotta do it by HAND! No comfortable use-this-and-this-and-that - page included... http://www.opengl.org/discussion_boards/ubb/frown.gif
01-31-2001, 04:05 PM
I am getting those, but not on my normal glut stuff, on readBmpFile(). . . I dono whats wrong.
02-01-2001, 06:50 AM
Is readBMPFile() your own function? Is it an unresolved external or something to the effect that it is already defined in module x.
If it's an unresolved external, you do not have the source file or library that actually implements the function.
If it says that it's already defined, you probably have it in multiple source files, or a header that is shared by multiple source files.
These are the two most common causes of linker errors. Without more specific info, I can't really say the exact cause of yours.
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.