PDA

View Full Version : Porting Linux code to NT



svd
02-11-2004, 06: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.

shinpaughp
02-17-2004, 04:25 PM
best bet -

#include <windows.h>

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