Mac 到处C++ api给lua用碰到的问题。

有人碰到
Undefined symbols for architecture armv7:
“luaopen_Fight_luabinding(lua_State*)”, referenced from:
AppDelegate::applicationDidFinishLaunching() in AppDelegate.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
这样的问题么
导出C++函数给lua用,win平台编译过了…
但是mac下编译就悲剧了

包含有luaopen_Fight_luabinding这个函数定义的文件你还没有加到工程里吧