generating userconf.ini...
Generating bindings for cocos2dx...
Using userconfig
]
.... Generating bindings for target lua
.... .... Processing section cocos2d-x
Traceback (most recent call last):
File "/Users/mac/Downloads/cocos2d-x-3.2/tools/bindings-generator/generator.py", line 1343, in
main()
File "/Users/mac/Downloads/cocos2d-x-3.2/tools/bindings-generator/generator.py", line 1318, in main
'headers': (config.get(s, 'headers' , 0, dict(userconfig.items('DEFAULT')))),
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ConfigParser.py", line 623, in get
return self._interpolate(section, option, value, d)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ConfigParser.py", line 691, in _interpolate
self._interpolate_some(option, L, rawval, section, vars, 1)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ConfigParser.py", line 723, in _interpolate_some
option, section, rest, var)
InterpolationMissingOptionError: Bad value substitution:
section:
option : headers
key : cocosdir
rawval : /cocos/cocos2d.h %(cocosdir)s/cocos/audio/include/SimpleAudioEngine.h %(cocosdir)s/cocos/ui/rotectedNode.h %(cocosdir)s/cocos/3d/CCAnimation3D.h %(cocosdir)s/cocos/3d/CCAnimate3D.h
---------------------------------
Generating lua bindings fails.
userconf.ini文件是自动生成的
androidndkdir = /Users/mac/Downloads/android-ndk-r10
clangllvmdir = /Users/mac/Downloads/android-ndk-r10/toolchains/llvm-3.4/prebuilt/darwin-x86_64
cocosdir = /Users/mac/Downloads/cocos2d-x-3.2
cxxgeneratordir = /Users/mac/Downloads/cocos2d-x-3.2/tools/bindings-generator
extra_flags =