Jump to content
  • Advertisement

Archived

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

Bilbo

Compile errors with NeHe's lesson1

This topic is 6354 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

I''m using the free Borland5.5 command line compiler. I have the libaries in the right places. but when i thry to compile lesson 1 of NeHe''s tutorials i get the following error message. C:\Borland\BCC55\Bin>bcc32 -Ic:\borland\bcc55\include -Lc:\borland\bcc55\lib les son1.cpp Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland lesson1.cpp: Error E2337 c:\borland\bcc55\include\gl/glut.h 140: Only one of a set of overloa ded functions can be "C" Error E2015 lesson1.cpp 44: Ambiguity between ''std::exit(int)'' and ''exit(int)'' i n function keyboard(unsigned char,int,int) Warning W8057 lesson1.cpp 49: Parameter ''x'' is never used in function keyboard(u nsigned char,int,int) Warning W8057 lesson1.cpp 49: Parameter ''y'' is never used in function keyboard(u nsigned char,int,int) Warning W8057 lesson1.cpp 63: Parameter ''x'' is never used in function arrow_keys (int,int,int) Warning W8057 lesson1.cpp 63: Parameter ''y'' is never used in function arrow_keys (int,int,int) *** 2 errors in Compile *** What am i doing wrong? Any help greatly appriciated

Share this post


Link to post
Share on other sites
Advertisement
I know that exist headers owns from Borland compiler and Visual C++ compiler......search in http://www.opengl.org these headers...i dont remember where is exactly.....sorry......

[center]"Sex, Programming and Rock n'' Roll!"[/center]

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!