cocos3.2 tolua报错
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 cocosdx3.2
现在想导出自定义的c++类给lua用
我按照tolua readme下载了ndk,然后加入环境变量 export NDK_ROOT=/path/to/android-ndk-r9b,然后执行genbindings.py,但是报了上面的路径找不到错误,求大家指点一下!!!!!!
下面是官方tolua文档
======================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 [Homebrew](http://brew.sh/) to install the python and use pip install the python dependencies.
<pre>
brew install python
</pre>
* Install python dependices by pip.
<pre>
sudo easy_install pip
sudo pip install PyYAML
sudo pip install Cheetah
</pre>
* Download [64bit ndk-r9b-x86_64](http://dl.google.com/android/ndk/android-ndk-r9b-darwin-x86_64.tar.bz2) from [google](http://developer.android.com/tools/sdk/ndk/index.html)
* Run
<pre>
export NDK_ROOT=/path/to/android-ndk-r9b
./genbindings.py
</pre>
=================================
------解决思路----------------------
我是windows环境,所以不清楚了。。
ndk不需要安装的,只是解压,然后配置环境变量。mac我就不知道喇
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 cocosdx3.2
现在想导出自定义的c++类给lua用
我按照tolua readme下载了ndk,然后加入环境变量 export NDK_ROOT=/path/to/android-ndk-r9b,然后执行genbindings.py,但是报了上面的路径找不到错误,求大家指点一下!!!!!!
下面是官方tolua文档
======================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 [Homebrew](http://brew.sh/) to install the python and use pip install the python dependencies.
<pre>
brew install python
</pre>
* Install python dependices by pip.
<pre>
sudo easy_install pip
sudo pip install PyYAML
sudo pip install Cheetah
</pre>
* Download [64bit ndk-r9b-x86_64](http://dl.google.com/android/ndk/android-ndk-r9b-darwin-x86_64.tar.bz2) from [google](http://developer.android.com/tools/sdk/ndk/index.html)
* Run
<pre>
export NDK_ROOT=/path/to/android-ndk-r9b
./genbindings.py
</pre>
=================================
------解决思路----------------------
我是windows环境,所以不清楚了。。
ndk不需要安装的,只是解压,然后配置环境变量。mac我就不知道喇