View Single Post
  #9 (permalink)  
Old 10-03-2007, 05:58 PM
stylecv
Posts: n/a
hi,need some help

i'm doing some work in opengl, glut and glui exactly is the libs i'm using...but the problem is this error that i can't fix to finish compiling my project.

1>------ Build started: Project: trab1, Configuration: Debug Win32 ------
1>Compiling...
1>RGBpixmap.cpp
1>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\platformsdk\include\gl\glut.h(146) : see declaration of 'exit'
1>trab1.cpp
1>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\platformsdk\include\gl\glut.h(146) : see declaration of 'exit'
1>g:\leic\laso\20072008\trab1_2809\trab1.cpp(1085 ) : error C3861: 'exit': identifier not found

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
Reply With Quote