cocos3.2 tolua报错求助

llvm toolchain not found!
path: /path/to/android-ndk-r9b/toolchains/llvm-3.3/prebuilt/darwin-x86 or path: /path/to/android-ndk-r9b/toolchains/llvm-3.3/prebuilt/darwin-x86_64 are not valid!

我是mac环境Python2.7

我按照tolua readme下载了ndk,然后加入环境变量,但是报了上面的路径找不到错误,求大家指点一下!!!!!!

======================readme.mdown=======================

On MAC:

  • The OSX 10.9 has a built-in python2.7 and if your os don’t have python2.7 then use (http://brew.sh/) to install the python and use pip install the python dependencies.

    brew install python

  • Install python dependices by pip.

    sudo easy_install pip
    sudo pip install PyYAML
    sudo pip install Cheetah


    export NDK_ROOT=/path/to/android-ndk-r9b
    ./genbindings.py

=================================

路径写错了,已解决!

你好,路径设置好了,怎么还报这样的错

我也碰到这个问题了。我自己电脑上有“android-ndk-r9b” 和“android-ndk-r9d”,最开始配置的是第一个爆错了, 后来换成第二个正常了。应该是跟我下载的第一个文件解压的时候出错有关。

llvm toolchain not found!

其实根本不用r9b,只要在编译的时候,把cocos2d引擎路径下的东西注释掉就好了,cmd_args = {} 在用户自定义路径下只写要编译的文件custom_cmd_args = { ‘cocos2dx_config.ini’ : (‘cocos2dx_config’, ‘jsb_cocos2dx_config’), \ }