cocos2dx 3.2 lua导入 c++自定义类 遇到的问题

官方 能给下解释吗?
cocos2dx 3.2 lua 导入c++自定义类
环境
mac 10.9.2
python 2.7.5
NDK r9b (特意从r9d改回来的 被这个坑了半天)

然后按照 http://www.cocoachina.com/bbs/read.php?tid=196416 这个官方推荐的帖子弄

执行到

python genbindings_myclass.py

总是报
/Library/Python/2.7/site-packages/Cheetah-2.4.4-py2.7.egg/Cheetah/Compiler.py:1509: 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.
"\nYou don’t have the C version of NameMapper installed! "
这个错误

然后 lua_myclass_auto.cpp和lua_myclass_auto.hpp 这两个文件 是生成了 不多生成的不全

lua_myclass_auto.hpp

#include “base/ccConfig.h”
#if CC_USE_PHYSICS
#ifndef testscene_h
#define testscene_h

#ifdef __cplusplus
extern “C” {
#endif
#include “tolua++.h”
#ifdef __cplusplus
}
#endif

int register_all_testscene(lua_State* tolua_S);

lua_myclass_auto.cpp

#include “lua_testscene_auto.hpp”
#if CC_USE_PHYSICS
#include “TestScene.h”
#include “tolua_fix.h”
#include “LuaBasicConversions.h”

#if CC_USE_PHYSICS 是个什么东东 物理?
有人能帮解决一下吗 先谢了! 官方的大神 能帮看下吗
急求 解决方案

可以有详细 准确一点的教程吗?

自己解决了 ! 我的问题主要是
改写 ini 文件的时候 headers 一定要是 绝对路径

headers = /Users/tokou/WORK/5-Cocos2dx/Project/UI/uitestLua/frameworks/runtime-src/Classes/TestScene.h --这里我用的是绝对路径用,如果用之前的变量路径找不到 TestScene.h