View Full Version : Porting Linux code to NT

02-11-2004, 05:42 PM
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.

02-17-2004, 03:25 PM
best bet -

#include <windows.h>

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