Page 1 of 1

How to use CMake to generate OGRE iPad Xcode project?

Posted: Thu Aug 19, 2010 7:00 am
by nkligang
Now, I can build application to the iPhone platform and works well. But, I can't find a correct way to build OGRE for iPad platform, could anybody be so kind to tell me how to deal with this problem?
some links may be help to you:
1. http://www.devx.com/wireless/Article/44472/0/page/1
2. http://www.weston-fl.com/blog/?p=563

Re: How to use CMake to generate OGRE iPad Xcode project?

Posted: Thu Aug 19, 2010 7:57 am
by masterfalcon
It's just a matter of setting the target device type to either iPad or iPhone/iPad and targeting the iOS 3.2 in your Xcode project.

Re: How to use CMake to generate OGRE iPad Xcode project?

Posted: Thu Aug 19, 2010 8:33 am
by nkligang
masterfalcon wrote:It's just a matter of setting the target device type to either iPad or iPhone/iPad and targeting the iOS 3.2 in your Xcode project.
No, iPad screen resolution is 1024 by 768 pixel, but iPhone screen resolution is 480 by 320 pixels. My target is too full-fill the screen of iPad.

Re: How to use CMake to generate OGRE iPad Xcode project?

Posted: Thu Aug 19, 2010 2:10 pm
by masterfalcon
Are you having trouble with Ogre filling the entire screen? Perhaps try building the latest 1.7 code from mercurial. Some changes have been added to properly support the iPhone 4's Retina Display that does affect other devices as well.

Re: How to use CMake to generate OGRE iPad Xcode project?

Posted: Fri Aug 20, 2010 2:32 am
by nkligang
masterfalcon wrote:Are you having trouble with Ogre filling the entire screen? Perhaps try building the latest 1.7 code from mercurial. Some changes have been added to properly support the iPhone 4's Retina Display that does affect other devices as well.
Is there any webpage teach us how to get the latest 1.7 code from mercurial? Thanks very much.

Re: How to use CMake to generate OGRE iPad Xcode project?

Posted: Fri Aug 20, 2010 2:52 am
by masterfalcon
Yeah, first link under Developer on the OGRE front page. http://www.ogre3d.org/developers/mercurial