From: Kevin G. <ke...@co...> - 2009-10-07 12:11:26
|
Reply below was meant to be to the list, apologies. Kev 2009/10/7 Kevin Glass <ke...@co...> > Remove the system.setproperty in your main before compiling for iphone > > On Oct 7, 2009 6:12 AM, "Jeff Norman" <not...@gm...> wrote: > > hello all, > > I've just come across the xmlvm project, and I can say that I'm very > excited about the functionality it provides. I'm specifically interested in > cross-compiling graphics/OpenGL related functionality from Android to > iPhone. > > I've poked around a bit, and gotten all the samples apps running from my > Eclipse environment, including the NeHe4 demo on the xmlvm iPhone emulator. > I am, however, having trouble getting the same app to run under the Apple > iPhone emulator (by simple running "make" from the command line). Everything > compiles okay and the Apple iPhone simulator starts up with the app, but > whenever I run the app it immediately crashes. Xokoban runs fine in the > Apple iPhone emulator under identical conditions. Does anybody have any > hints for getting the GL demo to work under the Apple iPhone emu? > > The core dump from the iPhone emulator is as follows (I've only included > what appeared relevant, let me know if I missed something important): > > Application Specific Information: > *** Terminating app due to uncaught exception 'NSInvalidArgumentException', > reason: '*** +[java_lang_System > setProperty___java_lang_String_java_lang_String::]: unrecognized selector > sent to class 0x1aac0' > > Thread 0 Crashed: > 0 CoreFoundation 0x00905004 > ___TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION___ + 4 > 1 libobjc.A.dylib 0x94811e3b objc_exception_throw + 40 > 2 CoreFoundation 0x0092f8fb +[NSObject > doesNotRecognizeSelector:] + 187 > 3 CoreFoundation 0x008c6676 ___forwarding___ + 902 > 4 CoreFoundation 0x008a26c2 _CF_forwarding_prep_0 + 50 > 5 iGLNehe4 0x0000d02f > +[org_xmlvm_iphone_demo_gl_nehelesson4_NeHeLesson4 > main___java_lang_String_ARRAYTYPE:] + 171 > (org_xmlvm_iphone_demo_gl_nehelesson4_NeHeLesson4.m:152) > 6 iGLNehe4 0x0000d11c main + 51 > (org_xmlvm_iphone_demo_gl_nehelesson4_NeHeLesson4.m:175) > 7 iGLNehe4 0x000025ca start + 54 > > Thanks, > > Jeff Norman > > > > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > |