I'm a beginer in OpenGl. I downloaded glut 3.7.6 package but I didn't find glu.h, glaux.h, opengl.h, opengl32.h and gl.h in there. Where can I get it ? And if I've found it, how to set it so it can work well. I'm using VC++ 2008 Express. Please tell me in detail about it. And about unistd.h file, where can I get it too? I downloaded a moon texture code from spacesimulator.net . I ran it and got the result below;
------ Build started: Project: tutorial4, Configuration: Debug Win32 ------
Compiling...
3dsloader.cpp
c:\documents and settings\satellite\my documents\spacesimulator.net-planetshading\3dsloader.cpp(26) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
texture.cpp
c:\documents and settings\satellite\my documents\spacesimulator.net-planetshading\texture.cpp(26) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
tutorial4.cpp
c:\program files\microsoft visual studio 9.0\vc\include\stdlib.h(371) : error C2381: 'exit' : redefinition; __declspec(noreturn) differs
c:\program files\microsoft sdks\windows\v6.0a\include\gl\glut.h(146) : see declaration of 'exit'
c:\program files\microsoft visual studio 9.0\vc\include\stdlib.h(371) : warning C4985: 'exit': attributes not present on previous declaration.
c:\program files\microsoft sdks\windows\v6.0a\include\gl\glut.h(146) : see declaration of 'exit'
c:\documents and settings\satellite\my documents\spacesimulator.net-planetshading\tutorial4.cpp(151) : error C3861: 'exit': identifier not found
Generating Code...
Build log was saved at "file://c:\Documents and Settings\SATELLITE\My Documents\spacesimulator.net-planetshading\Debug\BuildLog.htm"
tutorial4 - 4 error(s), 1 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Please help me.