erichocean / libjingle

Automatically exported from code.google.com/p/libjingle
0 stars 0 forks source link

an error about use hammer.bat to build vs project solution #196

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. hammer.bat --mode=all --vsproj
2.
3.

What is the expected output? What do you see instead?
scons: Reading SConscript files ...

scons: warning: The build_dir keyword has been deprecated; use the variant_dir k
eyword instead.
File "F:\root\swtoolkit\site_scons\site_init.py", line 203, in BuildEnvironmentS
Conscripts

scons: warning: The build_dir keyword has been deprecated; use the variant_dir k
eyword instead.
File "F:\root\swtoolkit\site_scons\site_init.py", line 203, in BuildEnvironmentS
Conscripts
Exception: Multiple definitions of expat:
  File "F:\root\libjingle-0.5.8\talk\main.scons", line 467:
    BuildEnvironments(envs)
  File "F:\root\swtoolkit\site_scons\site_init.py", line 276:
    e.ExecuteDefer()
  File "F:\root\libjingle-0.5.8\scons-local\scons-local-2.0.1\SCons\Environment.
py", line 222:
    return self.method(*nargs, **kwargs)
  File "F:\root\swtoolkit\site_scons\site_tools\defer.py", line 171:
    func(fenv)
  File "F:\root\swtoolkit\site_scons\site_init.py", line 203:
    exports={'env': ec}, duplicate=0)
  File "F:\root\libjingle-0.5.8\scons-local\scons-local-2.0.1\SCons\Script\SCons
cript.py", line 551:
    return _SConscript(self.fs, *files, **subst_kw)
  File "F:\root\libjingle-0.5.8\scons-local\scons-local-2.0.1\SCons\Script\SCons
cript.py", line 260:
    exec _file_ in call_stack[-1].globals
  File "F:\root\libjingle-0.5.8\talk\libjingle.scons", line 20:
    "HAVE_EXPAT_CONFIG_H",
  File "F:\root\libjingle-0.5.8\talk\site_scons\talk.py", line 153:
    return _GenericLibrary(env, True, **kwargs)
  File "F:\root\libjingle-0.5.8\talk\site_scons\talk.py", line 123:
    return ExtendComponent(env, 'ComponentLibrary', **params)
  File "F:\root\libjingle-0.5.8\talk\site_scons\talk.py", line 443:
    _RecordLibParams(name, dict(params))
  File "F:\root\libjingle-0.5.8\talk\site_scons\talk.py", line 57:
    raise Exception('Multiple definitions of ' + lib)

What version of the product are you using? On what operating system?
win7 32bit + python2.7 + sconslocal2.01 + swtoolkit0.91

Please provide any additional information below.

Original issue reported on code.google.com by ruless...@gmail.com on 1 Aug 2011 at 7:56

GoogleCodeExporter commented 9 years ago

Original comment by juberti@google.com on 31 May 2013 at 10:43