From: Bruce S. <Bru...@nc...> - 2006-01-31 02:38:11
|
I tried using Boost 1.33.0 and ran into problems, though I don't=20 remember the details. I retreated to 1.31.0 and that worked. Not=20 encouraging..... Bruce Sherwood Flavio Coelho wrote: > > Hi, > > which version of boost do you recomend? I am running vpython 3.2.6=20 > with boost 1.33.0 and I am getting the following error when I=20 > instantiate a gcurve plot: > > > /usr/lib/python2.4/site-packages/visual/graph.py in __init__(self,=20 > **args) > 487 class gcurve: > 488 def __init__(self, **args): > --> 489 pos =3D constructorargs(self,args) > 490 self.gcurve =3D curve(display=3Dself.gdisplay.display,=20 > color=3D self.co <http://self.co> > lor) > 491 if pos is not None: > > /usr/lib/python2.4/site-packages/visual/graph.py in=20 > constructorargs(obj, argumen > ts) > 461 else: > 462 if lastgdisplay is None: > --> 463 obj.gdisplay =3D getgdisplay() > 464 else: > 465 obj.gdisplay =3D lastgdisplay > > /usr/lib/python2.4/site-packages/visual/graph.py in getgdisplay() > 454 > 455 def getgdisplay(): > --> 456 return gdisplay() > 457 > 458 def constructorargs(obj,arguments): > > /usr/lib/python2.4/site-packages/visual/graph.py in __init__(self, x,=20 > y, width, height, title, xtitle, ytitle, xmax, xmin, ymax, ymin,=20 > foreground, background) > 190 self.setrangey() > 191 > --> 192 currentdisplay.select() > 193 > 194 def setxyparams(self): > > RuntimeError: boost::bad_weak_ptr > > thanks, > --=20 > Fl=E1vio Code=E7o Coelho > registered Linux user # 386432 > --------------------------- > "Laws are like sausages. It's better not to see them being made." > Otto von Bismark=20 |