[1.8] iOS SDK debug builds and FreeImage codecs

Discussion of issues specific to mobile platforms such as iOS, Android, Symbian and Meego.
User avatar
Brocan
Orc
Posts: 441
Joined: Tue Aug 01, 2006 1:43 am
Location: Spain!!
x 8

[1.8] iOS SDK debug builds and FreeImage codecs

Post by Brocan »

I've just downloaded iOS precompiled 1.8 SDK, but i only find release versions of the libraries. Debug ones are not provided?

Thanks in advance!
Last edited by Brocan on Tue May 29, 2012 1:50 pm, edited 1 time in total.
User avatar
Brocan
Orc
Posts: 441
Joined: Tue Aug 01, 2006 1:43 am
Location: Spain!!
x 8

Re: [1.8] iOS SDK debug builds?

Post by Brocan »

I've downloaded Ogre 1.8 source package from source forge. After configure and compile using xcode, i've realised that install target installs the headers, but not the libs (either debug or release builds). :|

I'm only building ogre core, gl es, gl es 2 and rt shader system, if it helps, and using cmake 2.8.8.

I've also a problem with FreeImage, i've used the FreeImage provided by the web http://sourceforge.net/projects/ogre/fi ... g/download , at after complaining that it haven't code for armv6, i've realised that my models are black. Looking at the ogre.log i've see that either jpg and png codecs are not available.
Error loading texture GreenSkin.jpg. Texture layer will be blank. Loading the texture failed with the following exception: OGRE EXCEPTION(5:ItemIdentityException): Can not find codec for 'jpg' image format.
Supported formats are: dds pvr. in Codec::getCodec at /Users/lsanagustin/Dev/Ogre/Ogre_1_8/ogre_src_v1-8-0/OgreMain/src/OgreCodec.cpp (line 69)
Error loading texture spheremap.png. Texture layer will be blank. Loading the texture failed with the following exception: OGRE EXCEPTION(5:ItemIdentityException): Can not find codec for 'png' image format.
Supported formats are: dds pvr. in Codec::getCodec at /Users/lsanagustin/Dev/Ogre/Ogre_1_8/ogre_src_v1-8-0/OgreMain/src/OgreCodec.cpp (line 69)
Error loading texture tusk.jpg. Texture layer will be blank. Loading the texture failed with the following exception: OGRE EXCEPTION(5:ItemIdentityException): Can not find codec for 'jpg' image format.
Supported formats are: dds pvr. in Codec::getCodec at /Users/lsanagustin/Dev/Ogre/Ogre_1_8/ogre_src_v1-8-0/OgreMain/src/OgreCodec.cpp (line 69)
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: [1.8] iOS SDK debug builds and FreeImage codecs

Post by masterfalcon »

You'll need to make sure that all the dependencies are found and used when building ogre.
User avatar
Brocan
Orc
Posts: 441
Joined: Tue Aug 01, 2006 1:43 am
Location: Spain!!
x 8

Re: [1.8] iOS SDK debug builds and FreeImage codecs

Post by Brocan »

masterfalcon wrote:You'll need to make sure that all the dependencies are found and used when building ogre.
I think so, or at least that i thought :lol:

I'll try again tomorrow, maybe cmake has trolled me :o