zlib not in dependencies

Discussion of issues specific to mobile platforms such as iOS, Android, Symbian and Meego.
ibrown
Gremlin
Posts: 164
Joined: Wed Aug 18, 2004 6:41 pm
Location: London

zlib not in dependencies

Post by ibrown »

I'm looking at compiling 1.8.1 for iOS because only 1.8 is available as an SDK. It's been a while since I did an Ogre compile, so this may be an obvious question but....

When I look in the iosDependencies that I have just downloaded from sourceforge, I don't see a zlib.a in the lib folder. The header is there in the includes but the lib is not there. It is there is in 1.8 sdk. The result is the cmake uses the system dynamic link one. Surely this will not work on an actual device as we need a static link version and also it should be arm arch rather than intel.

Am I going mad, or did it get missed from the dependencies package?

Thanks,

Ian
ibrown
Gremlin
Posts: 164
Joined: Wed Aug 18, 2004 6:41 pm
Location: London

Re: zlib not in dependencies

Post by ibrown »

maybe I am going mad because the sample browser does actually run on my phone.
User avatar
masterfalcon
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 4270
Joined: Sun Feb 25, 2007 4:56 am
Location: Bloomington, MN
x 126

Re: zlib not in dependencies

Post by masterfalcon »

Yeah, zlib is on the device so the dynamic link works just fine regardless of which one CMake finds.
ibrown
Gremlin
Posts: 164
Joined: Wed Aug 18, 2004 6:41 pm
Location: London

Re: zlib not in dependencies

Post by ibrown »

aha - thanks for that bit of information ... that makes sense now and my sanity is temporarily safe :)
TheSHEEEP
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 972
Joined: Mon Jun 02, 2008 6:52 pm
Location: Berlin
x 65

Re: zlib not in dependencies

Post by TheSHEEEP »

ibrown wrote:my sanity is temporarily safe :)
Value that rare moment in a programmer's life :D
My site! - Have a look :)
Also on Twitter - extra fluffy