← Back to team overview

yade-dev team mailing list archive

Re: [Branch ~yade-dev/yade/trunk] Rev 1804: fix bug in scons.profile*: now CPPPATH and LIBPATH is a simple string (not a list) with colon sep...

 

Thank you! Works, but only when I add --config=force option

What about including some of the most often paths, like
CPPPATH='/usr/local/include:/
usr/include/vtk-5.4':/usr/include/vtk-5.2'
for different the most popular systems?

Also I propose to iclude vtk-feature by default, as it is one of the most
powerful post-processing visualizing feature.

Ideas?

______________________________
[ENG] Best Regards
[GER] Mit freundlichen Grüßen
[RUS] С наилучшими пожеланиями
[UKR] З найкращими побажаннями

Anton Gladkyy


2009/11/21 Václav Šmilauer <eudoxos@xxxxxxxx>

>
> > Sorry, it does not work for me:
> >
> > scons: Reading SConscript files ...
> > @@@ Using profile default (scons.profile-default) @@@
> > AttributeError: 'list' object has no attribute 'split':
> >   File "/home/gladk/dem/yade/currentMono/yade/SConstruct", line 164:
> >     env['CPPPATH']=colonSplit(env['CPPPATH'])
> >   File "/home/gladk/dem/yade/currentMono/yade/SConstruct", line 121:
> >     def colonSplit(x): return x.split(':')
> It is picking up old value from scons.profile-default. Change it by
> hand, it will work ok then. E.g.
>
> CPPPATH = ['/usr/local/include','/usr/include/vtk-5.4']
>
> should become
>
> CPPPATH='/usr/local/include:/usr/include/vtk-5.4'
>
> HTH, v.
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev>
> Post to     : yade-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev>
> More help   : https://help.launchpad.net/ListHelp
>

References