binding box2d to lua with tolua++

hello,i try to bind box2d to lua with tolua**,make all heard file of box2d to pkg files,and Box2D.pkg contains all pkg files,then use the command to generate the LuaBox2D.cpp:
tolua**.exe tBox2Do LuaBox2D.cpp Box2D.pkg,not succuss,prompt parse error;i don’t what to do the next,can anybody help me,thanks?

attachment contains error info and Box2d’s pkg files!


未命名.jpg (26.0 KB)


pkg.rar.zip (56.0 KB)

Hi, this works.
http://www.cocos2d-x.org/boards/11/topics/3181?r=11933#message-11933