tags:

views:

159

answers:

2

I am switching from cocos2d 0.7.2 to 0.8.2 for cocosdenshion, but now i get 7 errors!

Undefined symbols:
"_OBJC_IVAR_$_TransitionScene.inSceneOnTop", referenced from:
_OBJC_IVAR_$_TransitionScene.inSceneOnTop$non_lazy_ptr in PageTurnTransition.o
"_inflateEnd", referenced from:
_inflateMemory_ in ZipUtils.o
_inflateMemory_ in ZipUtils.o
_inflateMemory_ in ZipUtils.o
"_OBJC_IVAR_$_CocosNode.anchorPoint_", referenced from:
_OBJC_IVAR_$_CocosNode.anchorPoint_$non_lazy_ptr in BitmapFontAtlas.o
"_inflate", referenced from:
_inflateMemory_ in ZipUtils.o
"_OBJC_IVAR_$_CocosNode.position_", referenced from:
_OBJC_IVAR_$_CocosNode.position_$non_lazy_ptr in ParallaxNode.o
"_inflateInit2_", referenced from:
_inflateMemory_ in ZipUtils.o
"_OBJC_IVAR_$_CocosNode.contentSize_", referenced from:
_OBJC_IVAR_$_CocosNode.contentSize_$non_lazy_ptr in BitmapFontAtlas.o
ld: symbol(s) not found
collect2: ld returned 1 exit status

Please help

A: 

It appears that you haven't included the proper headers or linked the proper modules.

darren
well its from cocos2d 0.8.2 so i didnt write any of them
techy
All i needed to do was add the libz.dylib framework
techy
A: 

i got a same problem with you.. and i tried to add libz.dylib framework.. finally fixed it!! thx techy!

jams