Hello Patrik,
[EMAIL PROTECTED] wrote:
> Hi Gerrit,
>
> at least CL works again - but it still doesn't find the boost libs.
>
> Log file is attached...
Hm, that is a problem with UtilGetArch() in
Tools/scons-build/OpenSG/AddOnHacks.py, it does not recognize win64 as
the platform string.
Two possibilities to fix this, you can try passing var_arch=x64 on the
scons command line (although it does not list that possibility) - not
sure if it will accept it though.
Or hack AddOnHacks.py so that the platform strings are recognized - that
is what vanilla SConsAddons does, wonder why the replacement got rid of it ?
def UtilGetArch():
""" Return identifier for CPU architecture. """
if not hasattr(os, 'uname'):
platform = distutils.util.get_platform()
arch = ""
if re.search(r'i.86', platform) or platform == 'win32':
arch = 'ia32'
# x86_64 (aka, x64, EM64T)
elif re.search(r'x86_64', platform) or platform == 'win64':
arch = 'x64'
# PowerPC
elif re.search(r'ia64', platform):
arch = 'ia64'
# PowerPC
elif re.search(r'Power_Mac', platform):
arch = 'ppc'
elif re.search(r'ppc64', platform):
arch = 'ppc64'
else:
arch_str = os.uname()[4]
if re.search(r'i.86', arch_str):
arch = 'ia32'
# x86_64 (aka, x64, EM64T)
elif re.search(r'x86_64', arch_str):
arch = 'x64'
elif re.search(r'ia64', arch_str):
arch = 'ia64'
# PowerPC Macintosh
elif re.search(r'Power Macintosh', arch_str):
# XXX: Not sure if this actually works. -PH 7/24/2006
if re.search(r'64', arch_str):
arch = 'ppc64'
else:
arch = 'ppc'
elif re.search(r'ppc64', arch_str):
arch = 'ppc64'
return arch
Hope it helps,
Carsten
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users