PDA

View Full Version : error message

darkarden
02-12-2007, 03:20 PM
I went on a camp over summer and i wrote some kool programs that i wanted to access in windows C++ express with OpenGL, so when i opened the code (a .cpp file) and copy it into the current window, i press build and i get this message:

C:\Program Files\Microsoft Visual Studio 8\VC\include\stdlib.h(406) : error C2381: 'exit' : redefinition; __declspec(noreturn) differs
1> C:\Program Files\Microsoft Visual Studio 8\VC\include\GL/glut.h(146) : see declaration of 'exit'

and i have no idea what it means and what to do, i would really like to build upon and improve this program,

Also the program cant find windows.h i have included it(#inclue <windows.h>) and it still wont work, (this is on a different program)