Skip to main content
gamedev.net
🔒 Locked

GLUT 3.7 Error

Started by DevTrigger 0 replies 200+ views
Original Post
DevTrigger
DevTrigger
I''m getting this error during compilation at about line 50 in the glut.h header file. The line reads: typedef unsigned short wchar_t; The Error that I''m getting is: "redeclaration of C++ built-in" Am I doing something wrong? or am I using an incorrect header file?? I compile using Dev-C++ so it''s a mingw based compiler. I already have the mingw lib files, so I don''t think that''s the problem. I tried commenting out that line, and the program compiles, but then throws an exception and crashes. Any help would be great.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.