Code: Select all
Ogre::ResourceGroupManager::getSingleton().addResourceLocation("Media/Sinbad.zip", "Zip", "General");I know that this probably is because the zip isn't found or isn't in the app archive. But I can't figure out how to load resources in iOS. In my CMakeLists file there is this command, but it didn't helped:An exception has occurred: OGRE EXCEPTION(7:InternalErrorException): Media/Sinbad.zip - error whilst opening archive: Unable to read zip file. in ZipArchive::checkZzipError at /path-to-ogre-source/OgreMain/src/OgreZip.cpp (line 310)
Code: Select all
COMMAND ditto "${PROJECT_SOURCE_DIR}/assets" "${OGRE_SAMPLE_CONTENTS_PATH}/Media"