Error 4 error C2511: 'bool cocos2d::CCImage::initWithImageData(void *,int,cocos2d::CCImage::EImageFormat)' : overloaded member function not found in 'cocos2d::CCImage' c:\wuala\platformer\cocos2d-x\cocos2dx\platform\airplay\ccimage_airplay.cpp 69
Sorry currently I don’t have good understood knowledge how cocos2dx engine works to fix this.
I quick looked code and I found what for fix it needed add libjpeg to marmalade port. May be I am wrong.
But, I can test your code - I have marmalade license.