Just wondering if anyone’s had any success porting to the iPhone on Snow and 3.1.2.
My first attempts are not successful. The libs compile fine, but the demo programs either
put u a blank screen or (in the case of DemosIPhoneOS) just the SDL logo screen saying “Loading…”.
No real crashes. I am following the iPhoneOS ReadMe and focusing on the Simulator first.
Granted these were quickie attempts, but given the announcements I thought 1.3 was
partially functional in that regard. I have just started tracing some of the calls to debug this
myself, just don’t want to reinvent the wheel if it’s not necessary…
Also, there is an “SDL_config_iphoneos.h” in the include directory. I tried pointing SDL_config.h to no
avail. The docs don’t mention this, but just thought I would try since it made sense.
Anyway, looks like a nice library and I’m definitely up for putting it through its paces. Once I get the
thing to build that is…I have experience porting open source to the iPhone so I’m not a total
noob.
Hope it’s something obvious. Oh the version of I have is SDL-1.3.0-5157…running on a Mac Pro with
10.6.1 and SDks 3.0+ ( I never reinstalled 2.* as I don’t intend on supporting older versions) and I’m testing
on Simulator, a 2G, 3G and 3GS…
/* Set working directory to resource path */
[[NSFileManager defaultManager] changeCurrentDirectoryPath: [[NSBundle
mainBundle] resourcePath]];
[self performSelector:@selector(postFinishLaunch) withObject:nil
afterDelay:0.0];
}On Tue, Oct 27, 2009 at 8:46 PM, pkouame <patrice.kouame at gmail.com> wrote:
Hi folks -
Just wondering if anyone’s had any success porting to the iPhone on Snow and
3.1.2.
My first attempts are not successful. The libs compile fine, but the demo
programs either
put u a blank screen or (in the case of DemosIPhoneOS) just the SDL logo
screen saying “Loading…”.
No real crashes. I am following the iPhoneOS ReadMe and focusing on the
Simulator first.
Granted these were quickie attempts, but given the announcements I thought
1.3 was
partially functional in that regard. I have just started tracing some of the
calls to debug this
myself, just don’t want to reinvent the wheel if it’s not necessary…
Also, there is an “SDL_config_iphoneos.h” in the include directory. I tried
pointing SDL_config.h to no
avail. The docs don’t mention this, but just thought I would try since it
made sense.
Anyway, looks like a nice library and I’m definitely up for putting it
through its paces. Once I get the
thing to build that is…I have experience porting open source to the iPhone
so I’m not a total
noob.
Hope it’s something obvious. Oh the version of I have is
SDL-1.3.0-5157…running on a Mac Pro with
10.6.1 and SDks 3.0+ ( I never reinstalled 2.* as I don’t intend on
supporting older versions) and I’m testing
on Simulator, a 2G, 3G and 3GS…