Jump to content
  • Advertisement

Archived

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

Quino

Help!

This topic is 5640 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement
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
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]

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!