Porting Linux code 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.

best bet -

#include <windows.h>

before #including GL headers
and make sure you add the appropriate libs to the project for GL

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