I get the following when running test.sh, and I get a folder named simple_test_bindings with no files, I can find what it is wrong, I need help, thanks!
`DongdeMacBook-Pro:test mxl$ sudo ./test.sh
Password:
CLANG_ROOT: /Users/mxl/bin/clang+llvm-3.1
NDK_ROOT: /Users/mxl/bin/android-ndk
CXX_GENERATOR_ROOT: /Volumes/macdata/MyDev/tools/cxx-generator/cxx-generator/test/…
PYTHON_BIN: /opt/local/bin/python2.7
Generating bindings for simpletest with Android headers…
Philippe Bobis wrote:
> @Paras: in the cxx-generator/test directory, you have a model of test.ini file (take a look at https://github.com/funkaster/cxx-generator)
> Regards
>
Hi Philippe,
>
What if I ’d like make SimpleNativeClass to be the subclass of cocos2d::CCNode? how can I do this? It will show me Errors as follow:
>
>
Errors in parsing headers:
<severity = Warning,
location = <SourceLocation file None, line 0, column 0>,
details = “argument unused during compilation: ‘-nostdinc++’”>
FYI, bindings-generator uses c-libraries from ‘android-ndk’. It fetches include-headers from gnu-std-c lib which resides in android ndk, but there are many versions of std-c lib for each versions. For an example, android-ndk-r9c is shipped with std-lib for 4.6 and 4.8, not for 4.7. With my environment bindings-generator requires library for 4.7, so I cloned stdlib v4.8 as v4.7 and it is now working.