So some of you might have heard me rambling about this in the chatterbox earlier today, but I am having enough trouble that I figured I would make a full fledged post of it. I've been trying to install PDL onto my Windows XP box and have been running into some trouble. Essentially, PDL installs and works just fine, but I cannot seem to use the PGPLOT functionality of the language after installing it. I installed PDL by following the instructions found here for strawberry perl 5.10. So, I used the ppm utility and it seemed like everything installed correctly, including PGPLOT, OpenGL, and even a few dll files I was missing.
However, when I run the perldl shell from my command line, and try a command along the lines of use PDL::Graphics::PGPLOT, I end up getting the following errors:
Can't locate loadable object for module PGPLOT in @INC (@INC contains: + C:/strawberry/perl/lib C:/strawberry/perl/site/lib .) at C:/strawber +ry/perl/site/lib/PDL/Graphics/PGPLOT/Window.pm line 2272 Compilation failed in require at C:/strawberry/perl/site/lib/PDL/Graph +ics/PGPLOT/Window.pm line 2272, <STDIN> line 1. BEGIN failed--compilation aborted at C:/strawberry/perl/site/lib/PDL/G +raphics/PGPLOT/Window.pm line 2272, <STDIN> line 1. Compilation failed in require at C:/strawberry/perl/site/lib/PDL/Graph +ics/PGPLOT.pm line 148, <STDIN> line 1. BEGIN failed--compilation aborted at C:/strawberry/perl/site/lib/PDL/G +raphics/PGPLOT.pm line 148, <STDIN> line 1. Compilation failed in require at (eval 40) line 5, <STDIN> line 1. BEGIN failed--compilation aborted at (eval 40) line 5, <STDIN> line 1.
So far as I can tell, the Window.pm module is having some issues locating whatever is on line 2272: use PGPLOT;. Well the funny thing about that is that I have PGplot.pm installed right where it is supposed to be at: C:\strawberry\perl\site\lib\PDL\Graphics\PGplot.pm
So I have hit a bit of a wall. I did some Googling and found this thread. It appears someone had a similar problem, but managed to fix it by installing PGPlot...which I thought I had already done. I may be misunderstanding the nature of the PGplot.pm, but isn't that a full implementation of the program? Or do I need to be doing an independent install of PGPlot first?
I guess at this point I don't have a lot of ideas, I just know that I am unable to work with the plotting utilities of PDL on my Windows system and it is becoming quite frustrating. Does anyone have any ideas? Please feel free to request more information or details as you deem necessary.
Thank you all in advance.
In reply to [SOLVED]: PDL and PGPLOT on Windows XP by BJ_Covert_Action
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |