How can I solve the problem?
It's installing ok for me on Windows 7 with Strawberry portable 5.24.1 (archname=MSWin32-x64-multi-thread, uname='Win32 strawberry-perl 5.24.1.1 #1 Mon Jan 16 02:00:29 2017 x64'):
"C:\_64\strawberry5.24.1\perl\bin\perl.exe" "-MExtUtils::Command::MM"
+"-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(
+0, 'blib\lib', 'blib\arch')" t/*.t
t/OpenGL-Shader.t ..
________________________________________
Testing OpenGL::Shader
----------------------------------------
* ok: Installed: OpenGL v0.7
* ok: OpenGL::Shader module loaded: v1.01
Available shader types:
ARB v1.0 - ARBfp1.0 and ARBvp1.0 Assembly
CG v1.00 - nVidia's Cg Shader Language
GLSL v4.30 - OpenGL Shader Language
* ok: 3 shader type(s) reported
Use of uninitialized value $type in uc at C:\Users\sisyphus\.cpan\buil
+d\OpenGL-Shader-1.01-0\blib\lib/OpenGL/Shader/Common.pm line 109.
Instantiated ARB v1.0
* ok: Loaded ARB shader from: fragment.arb, vertex.arb
Use of uninitialized value $type in uc at C:\Users\sisyphus\.cpan\buil
+d\OpenGL-Shader-1.01-0\blib\lib/OpenGL/Shader/Common.pm line 109.
Instantiated GLSL v4.30
* ok: Loaded GLSL shader from: fragment.glsl, vertex.glsl
Use of uninitialized value $type in uc at C:\Users\sisyphus\.cpan\buil
+d\OpenGL-Shader-1.01-0\blib\lib/OpenGL/Shader/Common.pm line 109.
Instantiated CG v1.00
* ok: Loaded CG shader from: fragment.cg, vertex.cg
________________________________________
t/OpenGL-Shader.t .. ok
All tests successful.
Files=1, Tests=6, 1 wallclock secs ( 0.03 usr + 0.02 sys = 0.05 CPU
+)
Result: PASS
BFREE/OpenGL-Shader-1.01.tar.gz
dmake test -- OK
One difference is that, according to the test output, I have "nVidia's Cg Shader Language" available but you apparently don't.
I also seem to have a slightly older GLSL version.
Does any of that account for the difference ?
What version of Windows are you running ?
What output does perl -V produce ?
Cheers, Rob
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|