These are the errors I get:
fatal error C1083: Cannot open include file: 'stream.h': No such file or directory
fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
fatal error C1083: Cannot open include file: 'vector.h': No such file or directory
fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory
fatal error C1083: Cannot open include file: 'stream.h': No such file or directory
fatal error C1083: Cannot open include file: 'stream.h': No such file or directory
error C2144: syntax error : 'void' should be preceded by ';'
error C2501: 'WINGDIAPI' : missing storage-class or type specifiers
error C2146: syntax error : missing ';' before identifier 'glAccum'
error C2182: 'APIENTRY' : illegal use of type 'void'
The fatal errors look like either deprecated headers or GNU-specific headers, not sure what to do about the latter case. I think I fixed the iostream.h error before by changing the #include <iostream.h> to #include <iostream> followed by using namespace std;
The last 4 errors are basically repeated a hundred times or so until the compiler gave up and said you have too many errors, and stopped compiling. Everything I come up with via Google says that I should #include <windows.h> (some sites says #include <wtypes.h> and #include <windef.h> ) just prior to the #include <GL/gl.h> and it seemed to work for all those people who had the problem, but it doesn't work for me. I set the project up as a Win32 Empty Project.
fatal error C1083: Cannot open include file: 'stream.h': No such file or directory
fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
fatal error C1083: Cannot open include file: 'vector.h': No such file or directory
fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory
fatal error C1083: Cannot open include file: 'stream.h': No such file or directory
fatal error C1083: Cannot open include file: 'stream.h': No such file or directory
error C2144: syntax error : 'void' should be preceded by ';'
error C2501: 'WINGDIAPI' : missing storage-class or type specifiers
error C2146: syntax error : missing ';' before identifier 'glAccum'
error C2182: 'APIENTRY' : illegal use of type 'void'
The fatal errors look like either deprecated headers or GNU-specific headers, not sure what to do about the latter case. I think I fixed the iostream.h error before by changing the #include <iostream.h> to #include <iostream> followed by using namespace std;
The last 4 errors are basically repeated a hundred times or so until the compiler gave up and said you have too many errors, and stopped compiling. Everything I come up with via Google says that I should #include <windows.h> (some sites says #include <wtypes.h> and #include <windef.h> ) just prior to the #include <GL/gl.h> and it seemed to work for all those people who had the problem, but it doesn't work for me. I set the project up as a Win32 Empty Project.