logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

VRML load bug for TriD in cvs: msg#00069

lang.perl.pdl.devel

Subject: VRML load bug for TriD in cvs

I figured I would try out the VRML driver for
PDL::Graphics::TriD with the current CVS version.
When I cut and pasted the sample code lines from
the help docs page, the module failed to even load
with the following error message:

perl -Mblib vrml-example.pl
Field name 'Width' already in use at
/cygdrive/c/chm/pdl_work/try/PDL/blib/lib/PDL//Graphics//TriD//VRML.pm line 604
BEGIN failed--compilation aborted at
/cygdrive/c/chm/pdl_work/try/PDL/blib/lib/PDL//Graphics//TriD//VRML.pm line 604.
Compilation failed in require at
/cygdrive/c/chm/pdl_work/try/PDL/blib/lib/PDL/Graphics/TriD.pm line 548.
BEGIN failed--compilation aborted at
/cygdrive/c/chm/pdl_work/try/PDL/blib/lib/PDL/Graphics/TriD.pm line 552.
Compilation failed in require at vrml-example.pl line 5.
BEGIN failed--compilation aborted at vrml-example.pl line 5.

Can anyone else reproduce this problem? It looks like some
sort of load order problem but I'm not familiar enough with
oo-perl to start with debugging. I don't know anything about
the VRML backend to TriD beyond reading the help page so
I could have missed something with the test code below.

Similar code with "GL" as the driver rather than "VRML" works
just fine.

--Chris

################### VRML example code fails:

BEGIN { $PDL::Graphics::TriD::device = "VRML"; };

use strict;

use PDL::Graphics::TriD;
use PDL::LiteF;

print "Done with VRML module loading...\n";

# set some vrml parameters
# my $set = tridsettings(); # get the defaults
# $set->browser_com('netscape/unix');
# $set->compress();
# $set->file('dynamic_scene.wrl.gz');
#
# line3d([$x,$y,$z]); # plot some lines and view the scene with a browser


################# But OpenGL test code works:

BEGIN { $PDL::Graphics::TriD::device = "GL"; };

use strict;
use PDL::Graphics::TriD;
use PDL::LiteF;

print "Done with OpenGL module loading...\n";
# set some vrml parameters
# my $set = tridsettings(); # get the defaults
# $set->browser_com('netscape/unix');
# $set->compress();
# $set->file('dynamic_scene.wrl.gz');
#
# line3d([$x,$y,$z]); # plot some lines and view the scene with a browser
_______________________________________________
PDL-porters mailing list
PDL-porters@xxxxxxxxxxxxxxx
http://mailman.jach.hawaii.edu/mailman/listinfo/pdl-porters
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
krysalis.sandbo...    web.zope.zwiki/...    gnome.apps.gnum...    xfree86.newbie/...    editors.vim/200...    mozilla.enigmai...    boot-loaders.gr...    network.vnc.ult...    redhat.release....    java.geronimo.u...    os.netbsd.devel...    horde.wicked/20...    linux.lsb.discu...    ietf.ips/2005-0...    alsa.devel/2002...    user-groups.lin...    package-managem...    debian.devel.da...    security.cyrus....    video.gstreamer...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation