(NOTE: I've changed the include order of the template code on my page http://staff.psc.edu/awetzel/Asn2_2008template.c to avoid this problem - sorry about that - Linux is happy either way!!) Art Student Q&A to/from Jeff below... This error is caused because the #include is above the other declarations. Move this #include statement so that it is the LAST of the #include lines. This happens because the glut.h defines a constant that stdlib.h also defines on windows. If stdlib.h is included first glut.h does not define the same constant and the problem is avoided. Jeff. > Good Morning Jeff, > > I have copied the asn2.c and put "mymaze.ppm" into ...asn2/asn2 folder. I > received following error, > > 1>------ Build started: Project: Asn2, Configuration: Debug Win32 ------ > 1>Compiling... > 1>Asn2.c > 1>c:\program files\microsoft visual studio 9.0\vc\include\stdlib.h(371) : > error C2381: 'exit' : redefinition; __declspec(noreturn) differs > 1> c:\program files\microsoft visual studio > 9.0\vc\include\gl\glut.h(146) : see declaration of 'exit' > 1>Build log was saved at "file://c:\Documents and Settings\lwang\My > Documents\Visual Studio 2008\Projects\Asn2\Asn2\Debug\BuildLog.htm" > 1>Asn2 - 1 error(s), 0 warning(s) > ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== > > > What is the error mean? > > What is "Compiled Win32 Version" for? Do I need it?