When compiling under Cygwin without _WIN32 defined (to
be able to use main() instead of WinMain()) APIENTRY =
“” when it should be
“__stdcall”. The fix to this problem is to
add “ || defined(__CYGWIN__)” to line 81 in
“glew.h”. As follows:
glew.h:81
#if defined(_WIN32) || defined(__CYGWIN__)
- Gerard
Nobody/Anonymous
None
None
Public
|
Date: 2006-03-04 08:46 Logged In: YES |
|
Date: 2006-03-04 08:46 Logged In: YES |
|
Date: 2005-09-08 13:01 Logged In: YES |
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use