I have had a similar error, where it said that exit() was
redefined. I think I reordered the include files at the top
to fix the issue. Good luck.


--- lilmouseman <[EMAIL PROTECTED]> wrote:

> I'm trying to get started with opengl programming, and
> I'm using Dev
> C++ as my main compiler, but trying to compile my first
> opengl
> program, simple triangle, yields one error that I can't
> seem to
> pinpoint. Any ideas?
> 
> 50 C:\Dev-Cpp\include\GL\glut.h redeclaration of C++
> built-in type
> `short'.
> 
> And in glut, here's the so called issue
> typedef unsigned short wchar_t;
> 
> 


_________________
Joseph A. Marrero
http://www.l33tprogrammer.com/


       
____________________________________________________________________________________
Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for 
today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow  

Reply via email to