[IronPython] Newbie questions. . .
dfugate at microsoft.com
Mon Jan 7 21:14:01 CET 2008
The "Prerequisites" section of the readme.htm distributed with the Direct3D sample contains info on fixing this (i.e., using Managed DirectX 1 instead of the 2.0 Beta). Basically please replace all occurrences of:
clr.AddReferenceByName('Microsoft.DirectX, Version=1.0.2902.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35')
throughout the sample.
Hope that helps!
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of FireNWater
Sent: Monday, January 07, 2008 9:51 AM
To: users at lists.ironpython.com
Subject: Re: [IronPython] Newbie questions. . .
OK, I'm making progress. . . at least now I'm getting an error in a
dialogue box, and actually got it to work once this morning!!
I have updated the DirectX SDK to the November 2007 version and the
Direct X version on my computer is 9.0. I also have the .NET SDK 2.0
Traceback (most recent call last):
File D:\IronPython\Samples\Direct3D\demo1.py, line 69, in Initialize
File D:\IronPython\Samples\Direct3D\framework.py, line 600, in Main
File D:\IronPython\Samples\Direct3D\framework.py, line 425, in
File , line 0, in .ctor##75
File Microsoft.DirectX, line unknown, in .ctor
File Microsoft.DirectX, line unknown, in CheckTimeBomb
StandardError: This pre-release version of DirectX has expired, please
upgrade to the latest version from http://www.microsoft.com/directx
On Jan 6, 11:33 pm, "Keith Hoard" <kho... at gmail.com> wrote:
> On Jan 6, 2008 2:14 PM, Martin Maly <Martin.M... at microsoft.com> wrote:
> > Some of the samples have prerequisites. I believe the DirectX tutorial
> > comes with a great readme (readme.html) that should get you going.
> > *From:* users-boun... at lists.ironpython.com [mailto:
> > users-boun... at lists.ironpython.com] *On Behalf Of *Keith Hoard
> > *Sent:* Sunday, January 06, 2008 11:56 AM
> > *To:* IronPython Mailing List
> > *Subject:* [IronPython] Newbie questions. . .
> > I have a few questions about getting up and running with IronPython.
> > I have downloaded and installed ipy.exe to the D:\IronPython directory. I
> > have also added this directory to the Path environment varialble. However,
> > when I try to run the examples (In this case " tutorial.py") from the web
> > site, I get the following error:
> > Microsoft Windows XP [Version 5.1.2600]
> > (C) Copyright 1985-2001 Microsoft Corp.
> > D:\IronPython>ipy tutorial.py
> > Traceback (most recent call last):
> > File D:\IronPython\tutorial.py, line 19, in Initialize
> > File , line 0, in AddReferenceByPartialName##12
> > IOError: Could not add reference to assembly Microsoft.DirectX
> > When I try to run the other samples, I get similar errors. Is there
> > another environment variable that I'm supposed to set so that IPy can find
> > the .NET libraries? Also, if there is some documentation that I missed, I
> > was hoping that someone could point me in the right direction.
> > Thanks in advance for any help. . .
> > _______________________________________________
> > Users mailing list
> > Us... at lists.ironpython.com
> Keith Hoard
> Collierville, TN
> kho... at gmail.com
> Users mailing list
> Us... at lists.ironpython.comhttp://lists.ironpython.com/listinfo.cgi/users-ironpython.com
Users mailing list
Users at lists.ironpython.com
More information about the Ironpython-users