#216 codegen issues on Windows

Future
open
nobody
None
5
2014-08-12
2012-07-28
Anonymous
No

Windows 7x64
TDM-GCC:TDM-GCC : tdm64-gcc-4.6.1
When:
make extensions
and make
Result:
gcc -DGLEW_NO_GLU -O2 -Wall -W -Iinclude -DGLEW_BUILD -o tmp/mingw/default/shared/visualinfo.o -c src/visualinfo.c
src/visualinfo.c: In function 'VisualInfoARB':
src/visualinfo.c:356:28: error: 'WGL_TYPE_RGBA_UNSIGNED_FLOAT_EXT' undeclared (first use in this function)
src/visualinfo.c:356:28: note: each undeclared identifier is reported only once for each function it appears in.

Discussion

  • Nigel Stewart
    Nigel Stewart
    2012-08-08

    I'm not sure I trust the code generation running on Windows.
    Does your wglew.h have this...

    ...
    / ------------------- WGL_EXT_pixel_format_packed_float ------------------- /

    ifndef WGL_EXT_pixel_format_packed_float

    define WGL_EXT_pixel_format_packed_float 1

    define WGL_TYPE_RGBA_UNSIGNED_FLOAT_EXT 0x20A8

    define WGLEW_EXT_pixel_format_packed_float WGLEW_GET_VAR(__WGLEW_EXT_pixel_format_packed_float)

    endif / WGL_EXT_pixel_format_packed_float /

    ...

    Does the official 1.9.0 GLEW build OK?

    • Nigel
     
  • Nigel Stewart
    Nigel Stewart
    2013-08-23

    • summary: undeclared WGL_TYPE_RGBA_UNSIGNED_FLOAT_EXT --> codegen issues on Windows
    • Group: --> 1.11.0
     


Anonymous


Cancel   Add attachments