按照要求配置的r9b的ndk,按照要求安装的环境,xcode5.1.1
求大神帮忙
故障报错如下:
txxxxmac:tolua txxxx$ ./genbindings_mysocket.py
PYTHON_BIN not defined, use current python.
generating userconf.ini…
Generating bindings for mysocket…
Using userconfig
(‘androidndkdir’, ‘/Android-op/android-ndk-r9b’), (‘clangllvmdir’, ‘/Android-op/android-ndk-r9b/toolchains/llvm-3.3/prebuilt/darwin-x86_64’), (‘cocosdir’, ‘/Users/txxxx/Desktop/rpg/frameworks/cocos2d-x’), (‘cxxgeneratordir’, ‘/Users/txxxx/Desktop/rpg/frameworks/cocos2d-x/tools/bindings-generator’), (‘extra_flags’, ‘’)]
… Generating bindings for target lua
… … Processing section mysocket
====
Errors in parsing headers:
- <severity = Warning,
location = <SourceLocation file ‘/Android-op/android-ndk-r9b/toolchains/llvm-3.3/prebuilt/darwin-x86_64/lib/clang/3.3/include/float.h’, line 86, column 9>,
details = “‘FLT_DIG’ macro redefined”> - <severity = Warning,
location = <SourceLocation file ‘/Android-op/android-ndk-r9b/toolchains/llvm-3.3/prebuilt/darwin-x86_64/lib/clang/3.3/include/float.h’, line 87, column 9>,
details = “‘DBL_DIG’ macro redefined”> - <severity = Warning,
location = <SourceLocation file ‘/Android-op/android-ndk-r9b/toolchains/llvm-3.3/prebuilt/darwin-x86_64/lib/clang/3.3/include/float.h’, line 106, column 9>,
details = “‘FLT_MAX’ macro redefined”> - <severity = Warning,
location = <SourceLocation file ‘/Android-op/android-ndk-r9b/toolchains/llvm-3.3/prebuilt/darwin-x86_64/lib/clang/3.3/include/float.h’, line 107, column 9>,
details = “‘DBL_MAX’ macro redefined”> - <severity = Warning,
location = <SourceLocation file ‘/Android-op/android-ndk-r9b/toolchains/llvm-3.3/prebuilt/darwin-x86_64/lib/clang/3.3/include/float.h’, line 114, column 9>,
details = “‘FLT_MIN’ macro redefined”> - <severity = Warning,
location = <SourceLocation file ‘/Android-op/android-ndk-r9b/toolchains/llvm-3.3/prebuilt/darwin-x86_64/lib/clang/3.3/include/float.h’, line 115, column 9>,
details = “‘DBL_MIN’ macro redefined”>
====
