Thanks for the catch, Rob, and hi! You are right about the pointer size dependence. I'll also add some notes to lib/OpenGL/Modern/Helpers.pm to document the issue. The hope is that most/all of the users won't need to deal with the raw C binding types at all.
Re the META and MYMETA stuff, I'm pretty much in the dark there... Cheers, Chris On 1/31/2017 19:49, [email protected] wrote: > From: Chris Marshall > Sent: Wednesday, February 01, 2017 4:24 AM > To: [email protected] ; perldl > Subject: [Pdl-general] CHM/OpenGL-Modern-0.01_05.tar.gz has been > released toCPAN > >> ...and should be appearing at a mirror near you soon. > > Hi Chris, > On MSWindows, there's a problem with t/02_glGetShaderInfoLog.t in that > it can be run only on 64-bit builds (ie only on perls whose > $Config{archname} =~ /x64/). > > For 32-bit builds, we find: > a) if ivsize == 4, then 'Q' is an invalid type for unpack > or > b) if ivsize == 8, then (at line 24) "unpack('Q',pack('p',$len))" > returns undef - which causes the script to crash. > > On these 32-bit builds, the problem is that $Config{ptrsize} is 4. > > Something like the attached patch works fine for me. > AFAIK (unchecked) the above problem is not limited to Windows. > > For some reason that I couldn't immediately spot, 'make realclean' > removes both META.yml and META.json - so the Makefile.PL step of > subsequent builds in the same build directory report that those 2 > files are missing. > I don't think that's correct behaviour .... but it doesn't break > anything for me. > > Cheers, > Rob > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ pdl-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pdl-general
