我一个老项目以前一直在cocos2dx 2.2下面运行,最近引擎换成了2.2.5,编译总是出如下错误,不知道为什么
Undefined symbols for architecture i386:
“cocos2d::ui::Margin::Margin()”, referenced from:
__GLOBAL__I_a in LeftShipNode17.o
__GLOBAL__I_a in DailyRewardLayer2.o
__GLOBAL__I_a in OptionsPassword.o
__GLOBAL__I_a in DispatchCardPiece.o
__GLOBAL__I_a in WorldIslandsLayer.o
__GLOBAL__I_a in AllianceDonateLayer.o
__GLOBAL__I_a in Chapter2Node.o
…
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
这是什么错误?