test generator failed

test generator failed
0.0 0


Hi, I’m trying cxxgenerator on linux, but got a fatal error:

[root@aidi-tnt-db2 test]# ./test.sh
CLANG_ROOT: /root/bin/clang+llvm-3.3
NDK_ROOT: /usr/local/android-ndk-r7c
CXX_GENERATOR_ROOT: /root/js/bindings-generator-master/test/…
PYTHON_BIN: /usr/local/bin/python
Generating bindings for simpletest with Android headers…
+ LD_LIBRARY_PATH=/root/bin/clang+llvm-3.3/lib
+ /usr/local/bin/python /root/js/bindings-generator-master/test/…/generator.py /root/js/bindings-generator-master/test/…/test/test.ini t spidermonkeys testandroid ~~o ./simple_test_bindings
Using userconfig
…. Generating bindings for target spidermonkey
…. …. Processing section testandroid
Errors in parsing headers:

  1. <severity = Fatal,
    location = <SourceLocation file ‘/usr/local/android-ndk-r8e//platforms/android-14/arch-arm/usr/include/sys/types.h’, line 33, column 10>,
    details = “‘stddef.h’ file not found”>
    * Found errors~~ can not continue
    Fatal error in parsing headers



location of clang:
>[root@db2 test]# which clang

stddef.h seem to be present:
>[root@db2 test]# ll /usr/local/bin/…/lib/clang/3.3/include/stddef.h
>-rw-r—r— 1 root root 3223 Aug 29 16:02 /usr/local/bin/…/lib/clang/3.3/include/stddef.h

Did I miss something? Any suggustion is appreciated, Thanks.


solved the problem