说一下我的步骤。
1.创建lua工程
2.用mac os x10.9 系统自带的 python2.7 用命令行 下载安装了 PyYAML,Cheetah
3.下载了android-ndk-r9b 放到工程中
4.用命令行 设置了 NDK_ROOT=/path/to/android-ndk-r9b
5…/genbindings.py 开始绑定出现了错误
好吧。他给了我一个警告 写着
UserWarning:
You don’t have the C version of NameMapper installed! I’m disabling Cheetah’s useStackFrames option as it is painfully slow with the Python version of NameMapper. You should get a copy of Cheetah with the compiled C version of NameMapper.
出的错误 和 这个 Cheetah 有关吗。
我的步骤 好像没有拉下哪一步。
顺带的 补充一点。已经在我设置好的路径里 生成出了 两个文件.hpp与.cpp。
可是文件里面没有 却没有绑定好的 实现。只有文件头
截图如下