cocos2d-x版本是3.2,根把网上的教程,成功生成lua_myclass_auto.cpp,lua_myclass_auto.hpp和MyClass.lua,头文件搜索路径也按教程的设了,xcode6.1编译的就报以上错误
Undefined symbols for architecture x86_64:
“register_all_myclass(lua_State*)”, referenced from:
AppDelegate::applicationDidFinishLaunching() in AppDelegate.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
在cocos ide下编译报cocos2d: :44:
module ‘MyClass’ not found:,在网上找了下,要什么update runntime,到底什么意思啊,能说具体操作吗