Hi, I've tried the hack, but its not working here yet.. the error has
changed.. I'm not using the patch and I've updated the scons build files
from svn. here's the error:
Building OpenSG 2.0.0-pre1
### Apply OpenSG SCons AddOn Hacks ###
Valid archs: ['default']
Option error: global name 'string' is not defined
Traceback (most recent call last):
File "D:\Pablo\Programming\lib\OpenSG-2.0\SConstruct", line 641, in
<module>
opts.Process(common_env)
File "Tools\scons-addons\src\SConsAddons\Options\Options.py", line 639, in
Pro
cess
option.validate(env) # Validate the settings
File "Tools\scons-addons\src\SConsAddons\Options\Options.py", line 382, in
val
idate
self.value = self.textToBool(self.value)
File "Tools\scons-build\OpenSG\AddOnHacks.py", line 373, in
BoolOptionTextToBo
ol
lval = string.lower(val)
NameError: global name 'string' is not defined
2007/7/2, Gerrit Voss <[EMAIL PROTECTED]>:
Hi,
On Mon, 2007-07-02 at 11:43 +0800, Gerrit Voss wrote:
> Hi,
>
> On Sun, 2007-07-01 at 13:23 -0300, Pablo Carneiro Elias wrote:
> > So, I've restored build.info (undid patch) and then applied the
> > hack... but here's what I got:
> >
> > Building OpenSG 2.0.0-pre1
> > ### Apply OpenSG SCons AddOn Hacks ###
> > NameError: global name 'distutils' is not defined:
> > File "D:\Pablo\Programming\lib\OpenSG-2.0-Stable-jun07\SConstruct",
> > line 382:
> > variant_helper = sca_variants.VariantsHelper(variantKeys=["type",
> > "arch"])
> > File "Tools\scons-addons\src\SConsAddons\Variants.py", line 56:
> > self.fillDefaultVariants(variantKeys)
> > File "Tools\scons-build\OpenSG\AddOnHacks.py", line 325:
> > valid_archs = SConsAddons.EnvironmentBuilder.detectValidArchs()
> > File "Tools\scons-build\OpenSG\AddOnHacks.py", line 271:
> > cur_arch = SConsAddons.Util.GetArch()
> > File "Tools\scons-build\OpenSG\AddOnHacks.py", line 220:
> > platform = distutils.util.get_platform()
> >
> > any easy fix?
that one I just fixed this morning, so it should work again.
kind regards
gerrit
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users