PDA

View Full Version : External Link Errors - Help



Ahrezmendi
03-05-2003, 06:39 PM
Ok, I think these errors are regarding my lib files, but when I try to compile my program (simple program, just draws a triangle) it gives external link errors referencing every OpenGL function I call.
I'm including the default Visual C++ gl files (gl, glu, and glaux even though I don't use it).
What I'm not sure about are my library files. Is anybody familiar with what could be causing my external link errors?

shinpaughp
03-05-2003, 06:47 PM
You need to add the lib files to your project settings or add #pragma comment statements as
#pragma comment(lib, "libname.lib");

Ahrezmendi
03-05-2003, 06:55 PM
I figured that was it. All the other apps have those. Thanks, appreciate the help.