I have already written an iPhone app, but i have decided to rewrite it using cocos2d. Although, I do not want to completely rewrite the entire app, I just want to use it for one view due to heavy graphics. I only want to use a few commands - Is this possible? And if so, how can I get cocos2d to interact with UIKit objects that I have already set up?
Thanks.
Haha thats actually where I got started. But, when I imported the cocos2d folder and build and ran, I got 8 errors. All of them said something in quotes followed by "referenced from: _inflateMemory in ZipUtils.o". Struggled with that for a while then gave up. Any ideas as how to fix it?
Haha thats actually where I got started. But, when I imported the cocos2d folder and build and ran, I got 8 errors. All of them said something in quotes followed by "referenced from: _inflateMemory in ZipUtils.o". Struggled with that for a while then gave up. Any ideas as how to fix it?
Did you make sure to set the -lz flag exact how I entered it? Also did you add Open GL ES and import it?
Hmm thats odd. I would recommend then completely removing the cocos2d files from the app folder and cleaning it. Then make sure you add it the same way I did.
Also, maybe you should add just plain Open GL too and see if that helps.
Hmm thats odd. I would recommend then completely removing the cocos2d files from the app folder and cleaning it. Then make sure you add it the same way I did.
Also, maybe you should add just plain Open GL too and see if that helps.
Haha. I had looked at that prior to this. But, after a couple hours of researching, I managed to figure it out. For for future reference to anyone it may concern, I had to add in two more frameworks: QuartzCore.framework and libz.dylib. That fixed it. Thanks for all the help.