PDA

View Full Version : help me!!!



lah
04-28-2005, 12:52 AM
I am a beginners.And My problrm is as followes:
when I linking my Opengl codes in VC++6.0. I meet
the results:
-------------------------------------------------Linking...
TriangleView.obj : error LNK2001: unresolved external symbol _auxSolidSphere@8
TriangleView.obj : error LNK2001: unresolved external symbol _auxWireSphere@8
TriangleView.obj : error LNK2001: unresolved external symbol _auxWireCube@8
.\Triangle/Triangle.exe : fatal error LNK1120: 3 unresolved externals
Error executing link.exe.

Triangle.exe - 4 error(s), 0 warning(s)
=================================================
what can i do?

enmaniac
04-28-2005, 12:59 AM
Have you included GLAux.h header file ?

powerpad
04-28-2005, 01:26 AM
looks like a linker error ...

did you include the appropriate libs and/or dlls ?

try the project's settings or do

#pragma comment(lib, "library_name_goes_here.lib")

lah
04-29-2005, 05:57 PM
oh!I get it!
Thank you ,enmaniac and powerpad, just as what you said, i haven't include glaux.lib.Now it's ok!
Thanks again!