Hi,
I am building glew.c within my own build system. For some reason, WINAPI
does not get defined on CYGWIN, since the inclusion of windows.h is disable
in wglew.h. My command line is:
cc -I.././build/CYGWIN_NT_5_1/include -DWIN32 -D_WIN32 -DCYGWIN_NT_5_1
-DWGL -DEQ_CHECK_THREADSAFETY -DEQ_USE_COMPRESSION -DGLEW_MX -DNDEBUG
-DWIN32 -D_WIN32 -DWIN32 -D_WIN32 -DSUBDIR=\"./lib\" -MMD -MF
.././obj/./lib/glew/glew.CYGWIN_NT_5_1.i686.o.d -c glew/glew.c -o
.././obj/./lib/glew/glew.CYGWIN_NT_5_1.i686.o
In file included from glew/glew.c:34:
.././build/CYGWIN_NT_5_1/include/GL/wglew.h:89: error: parse error before
'*' token
.././build/CYGWIN_NT_5_1/include/GL/wglew.h:89: error: parse error before
"hDC"
.././build/CYGWIN_NT_5_1/include/GL/wglew.h:89: error: `BOOL' declared as
function returning a function
...
Environment is Cygwin, GLEW 1.4.0.
Any ideas what's going wrong?
Cheers,
Stefan.
Nobody/Anonymous
WGL specific
None
Public
|
Date: 2008-11-10 02:20 This Tracker item was closed automatically by the system. It was |
|
Date: 2008-10-27 01:56 Hi, |
| Field | Old Value | Date | By |
|---|---|---|---|
| status_id | Pending | 2008-11-10 02:20 | sf-robot |
| close_date | 2008-10-27 01:56 | 2008-11-10 02:20 | sf-robot |
| status_id | Open | 2008-10-27 01:56 | ikits |
| resolution_id | None | 2008-10-27 01:56 | ikits |
| close_date | - | 2008-10-27 01:56 | ikits |
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use