Undefined symbols for architecture i386:To solve it, add "extern "C" " symbol to the include keywords to lua headers.
"lua_gettop(lua_State*)", referenced from:
"lua_resume(lua_State*, lua_State*, int)", referenced from:
...
..
.
#ifdef __cplusplus extern "C" { #include "lua.h" } #endif
Reference: StackOverFlow
沒有留言:
發佈留言