Compile Linux to NT

Dear friends,

While trying to compile a linux code to NT, I get syntax error pointing in gl.h
1>Syntax error : missing ‘;’ before type void
2>‘WINGDIAPI’: missing storage-class or type specifier.
3> unexpected end of file found.

If possible, please help.

Did you “#include <windows.h>”? before the gl include?

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.