Are there some newer updates to Ogre after 1.7.1 I should grab to make it run on the iPad simulator?
When I try to run it (samplebrowser or my own simple app), I get errors while trying to load scripts for parsing. It seems to be getting the filenames wrong, like if the material script is "Parsing script Models/ThreePigsTest02.material" I see "Parsing script 02.material" in the log then it crashes because it can't open the file.
Note that I haven't converted the target for "true" iPad support - I'm simply selecting the iPad simulator and running the compiled iPhone version (which works fine in the iPhone simulator). Maybe thats not okay. I figured it should work though.
It appears that things get all screwy only on iPad when using the iOS 4 SDK. Honestly, I have no idea why it doesn't work. Even the dependencies need to be compiled with the 3.2 SDK.
I no longer build the samples, just build the libs and then build my app against it. Mine works fine on the iPad itself, haven't tried the simulator for a short while. Will do some time today.
pratty70 wrote:I no longer build the samples, just build the libs and then build my app against it. Mine works fine on the iPad itself, haven't tried the simulator for a short while. Will do some time today.
masterfalcon wrote:It appears that things get all screwy only on iPad when using the iOS 4 SDK. Honestly, I have no idea why it doesn't work. Even the dependencies need to be compiled with the 3.2 SDK.
So it looks like in order to get my game running on iPad, I need both the libs and dependencies compiled against 3.2 SDK? I can't compile them against 4.0 and use those same libs on both iPhone and iPad?
Masterfalcon, any chance you could post those 3.2 dependencies? I haven't tried tackling compiling those yet, they scare me.
SufferinPup wrote:
So it looks like in order to get my game running on iPad, I need both the libs and dependencies compiled against 3.2 SDK? I can't compile them against 4.0 and use those same libs on both iPhone and iPad?
Masterfalcon, any chance you could post those 3.2 dependencies? I haven't tried tackling compiling those yet, they scare me.
I use the same libs on 3.2 and 4.0 because I have a universal app running quite happily on 4.0 on iPhone and 3.2 on iPad.
pratty70 wrote:I use the same libs on 3.2 and 4.0 because I have a universal app running quite happily on 4.0 on iPhone and 3.2 on iPad.
Are your libs "fat" libs that contain both 4.0 and 3.2? Or just 4.0? Because right now if I compile ogre's libs with SDK 4.0 (and set OS Deployment Target as 3.0) I get the problems parsing scripts on ipad. And from masterfalcon's comments it sounds like the problem is because its compiled against SDK 4.0.
Ahah sorry I misunderstood, on the actual device this all works fine, I guess the problems I'm seeing are specific to the simulator. I tested my app on an actual device and it works fine. Very odd!