Archived

This topic is now archived and is closed to further replies.

Quino

Help!

Recommended Posts

Well, this is my first day here, and i need some help, i was coying and reading about the first program, and i went to compile, but it came up with 17 errors. i think that i might have to add openGL to my preferences or sumthin, but i dont now, can anyone tell me why? Yay opengl! im on me way to maybe making a REAL bad mario kart knock off! ACE!

Share this post


Link to post
Share on other sites
It''s helpfull if you copy and paste the errors. I''m assuming this will fix your problems...

Add this up top before your includes..



#pragma comment(lib, "opengl32.lib")
#pragma comment(lib, "glu32.lib")
#pragma comment(lib, "glaux.lib")

Share this post


Link to post
Share on other sites
Wait, now it says
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/openglhereicome.exe : fatal error LNK1120: 1 unresolved externals
2 errors

[edited by - Quino on July 4, 2003 3:45:59 AM]

[edited by - Quino on July 4, 2003 3:49:37 AM]

Share this post


Link to post
Share on other sites