Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the OpenGL CPAN distribution.

Report information
The Basics
Id: 37576
Status: resolved
Priority: 0/
Queue: OpenGL

People
Owner: BFREE [...] cpan.org
Requestors: sisyphus [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.56
Fixed in: (no value)



Subject: Won't compile on Win32 (with MinGW compiler)
During the 'make' stage, I can't get past the following: ------------------------------------ gcc -c -IC:/_32/msys/1.0/local/include -s -O2 -DWIN32 - DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno- strict-aliasing -DPERL_MSVCRT_READFIX -s -O2 -DVERSION=\"0.56\" - DXS_VERSION=\"0.56\" "-IC:\perl510_M\5.10.0\lib\CORE" -DHAVE_GL - DHAVE_GLU -DHAVE_GLUT OpenGL.c OpenGL.xs: In function `XS_OpenGL_glBlendEquationEXT': OpenGL.xs:8055: error: `glBlendEquationEXT' undeclared (first use in this function) OpenGL.xs:8055: error: (Each undeclared identifier is reported only once OpenGL.xs:8055: error: for each function it appears in.) OpenGL.xs: In function `XS_OpenGL_glBlendColorEXT': OpenGL.xs:8071: error: `glBlendColorEXT' undeclared (first use in this function) . . [and similar errors for a number of other identifiers] ------------------------------------ For some context, some relevant lines from OpenGL.xs: ------------------------------------ 8051: void 8052: glBlendEquationEXT(mode) 8053: GLenum mode 8054: INIT: 8055: loadProc(glBlendEquationEXT,"glBlendEquationEXT"); 8056: CODE: 8057: glBlendEquationEXT(mode); 8058: 8059: #endif ------------------------------------ This is MinGW-built perl-5.10.0 on Windows Vista, OpenGL-0.56, building against the glut-3.7.6 binaries available from http://www.xmission.com/~nate/glut.html . Only siginificant change I've made to the Makefile.PL is to remove the 'OPTIMIZE' key/value pair from WriteMakefile(). Otherwise I get: ------------------------------------ gcc: /O2gity: No such file or directory gcc: /GDs: No such file or directory ------------------------------------ followed by the errors mentioned at the start of this report. Any assistance appreciated. Cheers, Rob
RT-Send-CC: grafman [...] graphcomp.com
Thanks for the report, Sysyphus - and thanks for working with me to fix this. I'll do my best to get this into the 0.57 release. On Wed Jul 09 22:40:03 2008, SISYPHUS wrote: Show quoted text
> During the 'make' stage, I can't get past the following: > > ------------------------------------ > gcc -c -IC:/_32/msys/1.0/local/include -s -O2 -DWIN32 - > DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno- > strict-aliasing -DPERL_MSVCRT_READFIX -s -O2 -DVERSION=\"0.56
\" - Show quoted text
> DXS_VERSION=\"0.56\" "-IC:\perl510_M\5.10.0\lib\CORE" -DHAVE_GL - > DHAVE_GLU -DHAVE_GLUT OpenGL.c > OpenGL.xs: In function `XS_OpenGL_glBlendEquationEXT': > OpenGL.xs:8055: error: `glBlendEquationEXT' undeclared (first use in > this function) > OpenGL.xs:8055: error: (Each undeclared identifier is reported only
once Show quoted text
> OpenGL.xs:8055: error: for each function it appears in.) > OpenGL.xs: In function `XS_OpenGL_glBlendColorEXT': > OpenGL.xs:8071: error: `glBlendColorEXT' undeclared (first use in
this Show quoted text
> function) > . > . > [and similar errors for a number of other identifiers] > ------------------------------------ > > For some context, some relevant lines from OpenGL.xs: > > ------------------------------------ > 8051: void > 8052: glBlendEquationEXT(mode) > 8053: GLenum mode > 8054: INIT: > 8055: loadProc(glBlendEquationEXT,"glBlendEquationEXT"); > 8056: CODE: > 8057: glBlendEquationEXT(mode); > 8058: > 8059: #endif > ------------------------------------ > > This is MinGW-built perl-5.10.0 on Windows Vista, OpenGL-0.56,
building Show quoted text
> against the glut-3.7.6 binaries available from > http://www.xmission.com/~nate/glut.html . > > Only siginificant change I've made to the Makefile.PL is to remove > the 'OPTIMIZE' key/value pair from WriteMakefile(). Otherwise I get: > > ------------------------------------ > gcc: /O2gity: No such file or directory > gcc: /GDs: No such file or directory > ------------------------------------ > > followed by the errors mentioned at the start of this report. > > Any assistance appreciated. > > Cheers, > Rob
Fixed in 0.57 - much thanks to sisyphus and cmarshall!