PDA

View Full Version : please help me with this



beginner620824
02-26-2003, 07:11 AM
Can you help me to get rid of the error message:

unresolved external symbol _glePolyCylinder

If you don't know glePolyCylinder, you can get it at http://linas.org/gle/
and show me how to make it running.

I need you help badly, thanks

starman
02-26-2003, 07:24 AM
Show us your compile and link lines.

I_NeedHelp
02-26-2003, 08:10 AM
i think an error like this is caused by not linking to a library or something. Maybe you haven't included the library or header file.
Actually, i'm also a begginner, mayb i should keep my ideas to myself :P

HalcyonBlaze
02-26-2003, 08:22 AM
yeah, i think you forgot to link the library. Add this line at the top of your code:

#pragma comment (lib, "gle32")

I'm not sure that gle32 is the name of the dll file, but i think it is. If I'm wrong and you find the right library name, just substitute it in.

@I_NeedHelp: You were absolutely right about the problem! It was an unlinked library.But, what good are ideas if you can't share them though? http://www.opengl.org/discussion_boards/ubb/smile.gif

- Halcyon

Edit: Just wanted to say that he is including the header file. If he didn't, the error woudl be undefined blah blah blah, not unresolved.

[This message has been edited by HalcyonBlaze (edited 02-26-2003).]