Frederic Bouvier a écrit :
eagle monart a écrit :
thanks for the config.h solution what about problems in gl.h ?
C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\Include\gl\GL.h(1152) : error C2146: syntax
error : missing ';' before identifier 'glAccum'
C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\Include\gl\GL.h(1152) : error C2182: 'APIENTRY'
: illegal use of type 'void'
C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\Include\gl\GL.h(1153) : error C2144: syntax
error : 'void' should be preceded by ';'
C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\Include\gl\GL.h(1153) : error C2501: 'WINGDIAPI'
: missing storage-class or type specifiers
C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\Include\gl\GL.h(1153) : error C2086: 'int
WINGDIAPI' : redefinition
C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\Include\gl\GL.h(1152) : see declaration of
'WINGDIAPI'
__
Windows.h should always be included *before* any GL include file.
There is a define somewhere :
#define HAVE_WINDOWS_H 1
that condition this inclusion
I think it is defined in my config.h . I also have HAVE_CONFIG_H defined
in my project files.
-Fred
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d