Advertisement

Help!

Started by July 04, 2003 02:36 AM
2 comments, last by Quino 21 years, 8 months ago
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!
Yay opengl! im on me way to maybe making a REAL bad mario kart knock off! ACE!
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")
Advertisement
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]
Yay opengl! im on me way to maybe making a REAL bad mario kart knock off! ACE!
Make sure when you create a project that it is a Win32 Application and not a win32 Console Application. That should fix that error

[edited by - Bakingsoda36 on July 4, 2003 4:02:04 AM]

This topic is closed to new replies.

Advertisement