Resource Loading

Discussion of issues specific to mobile platforms such as iOS, Android, Symbian and Meego.
jasperblues
Gnoblar
Posts: 4
Joined: Sun Oct 28, 2012 4:25 pm

Resource Loading

Post by jasperblues »

Hi,

Just getting started with Ogre. . . . had to build from source because the pre-packaged iOS build didn't seem to get along with boost in the iOS dependencies.

Have a happy source build now, and trying to run in the simulator. Getting the following exception:

An exception has occurred: OGRE EXCEPTION(7:InternalErrorException): /Users/jblues/Library/Application Support/iPhone Simulator/6.0/Applications/A87A4FD2-F90F-4985-AEBF-FF9C09931267/AnotherOgre.app/media/packs/SdkTrays.zip - error whilst opening archive: Unable to read zip file. in ZipArchive::checkZzipError at /Users/jblues/


I have the resource in the project, and it's in the copy bundle phase. . .

. .. so how does Ogre load resources in iOS and how can I fix this?
jasperblues
Gnoblar
Posts: 4
Joined: Sun Oct 28, 2012 4:25 pm

Re: Resource Loading

Post by jasperblues »

OK - got it working. . . just dropped off all the paths in Resources.cfg. . . . i now have an Ogre head. . . cool.