have no lua binding generator in the 3.0 bate ?
tools/tolua/genbindings.sh
I tryed .all path is right,but always return stdarg.h file not found
please make sure your env is configured as following:
- NDK r9b
- Python 2.7+ with Cheeth
- clang-llvm 3.3
I read the code, and find out my ndk lack of 4.7 headers.then it works ok,except generating bindings for cocos2dx_studio. it prints out ‘cast from pointer to smaller type ’uintptr_t’’(rapidjson.h)
finaly, I comment that line, all bindings working fine.
honyeung lau wrote:
I read the code, and find out my ndk lack of 4.7 headers.then it works ok,except generating bindings for cocos2dx_studio. it prints out ‘cast from pointer to smaller type ’uintptr_t’’(rapidjson.h)
>
finaly, I comment that line, all bindings working fine.
Yes, the ndk r9c has never offer gcc 4.7 headers, but the ndk r9b contains, so you can download it from goolge, etc: http://dl.google.com/android/ndk/android-ndk-r9b-darwin-x86_64.tar.bz2
On the other hand the ndk-r9c offers a 4.8 headers, but the 4.8 headers is not work correctly with clang 3.4, and the latest generator use a prebuilt libclang3.4, so, the ndk-r9b with 4.7 headers is the best choice till now.