我的构建环境:
OS:OS X El Capitan 10.11.6
斯康版本:
v2.5.1.rel_2.5.1:3735:9dc6cee5c168[MODIFIED],
boost 框架复制到 ~/Desktop/iotivity-1.2.1/extlibs/boost/ios/framework
构建命令:
scons TARGET_OS=ios TARGET_ARCH=arm64
构建错误:
scons: 正在读取 SConscript 文件 ... NameError: name 'bIn' is not defined:
File/Users/John/Desktop/iotivity-1.2.1/SConstruct
, line 28: SConscript('build_common/SConscript')
File "/usr/local/Cellar/scons/2.5.1/libexec/scons- local/SCons/Script/SConscript.py”,第 604 行:返回方法(*args,**kw)文件“/usr/local/Cellar/scons/2.5.1/libexec/scons-local/SCons/Script/SConscript .py”,第 541 行:返回 _SConscript(self.fs, *files, **subst_kw)
文件“/usr/local/Cellar/scons/2.5.1/libexec/scons-local/SCons/Script/SConscript.py” ,第 250 行:call_stack[-1].globals 文件“/Users/John/Desktop/iotivity-1.2.1/build_common/SConscript”中的exec文件
,第 426 行:env.SConscript(target_os + '/SConscript')
文件“/usr/local/Cellar/scons/2.5.1/libexec/scons-local/SCons/Script/SConscript.py”,第 541 行:返回 _SConscript(self.fs, *files, **subst_kw)
文件“/ usr/local/Cellar/scons/2.5.1/libexec/scons-local/SCons/Script/SConscript.py”,第 250 行:call_stack[-1].globals 文件中的exec文件
“/Users/John/Desktop/iotivity -1.2.1/build_common/ios/SConscript”,第 8 行:env.SConscript('../darwin/SConscript')
文件“/usr/local/Cellar/scons/2.5.1/libexec/scons-local/SCons /Script/SConscript.py”,第 541 行:返回 _SConscript(self.fs, *files, **subst_kw)
文件“/usr/local/Cellar/scons/2.5.1/libexec/scons-local/SCons/Script/ SConscript.py",第 250 行:call_stack[-1] 中的 exec文件。全局变量
文件“/Users/John/Desktop/iotivity-1.2.1/build_common/darwin/SConscript”,第 29 行:elif bIn: