From: Arno P. <ar...@pu...> - 2012-11-23 22:42:49
|
the C backend has two different versions of the iOS classes: 1. classes in package org.xmlvm.iphone.*: these classes are used by default when using the C backend. The Java classes in that package and their matching C wrapper implementations were written by hand. 2. classes in package org.xmlvm.ios.*: these classes can be used with the C backend. In this case you need to invoke XMLVM with --xmlvm-new-ios-api. The big difference of the org.xmlvm.ios.* package is that its classes and matching C wrapper implementations were generated by a tool and not written by hand. Check out xmlvm/trunk/crossmobile. This project can parse the original Objective-C header files contained in the iOS SDK and generate the Java classes as well as the C wrappers. Arno On 11/18/12 7:28 AM, Kurayami Tenshi wrote: > Hi there > > What's the difference between org.xmlvm.ios.UIImage and > org.xmlvm.iphone.UIImage? If I use the ios version, XCode won't be able > to compile the project. > > The main thing I want to do is this: Load an image using CoreGraphics. > While using the UIImage from iphone package works, CoreGraphics gives me > the same types of errors too: > > XCode says: > org_xmlvm_iosNSURLResponse.m > LLVM GCC 4.2 error: > struct <anonymous> ......... etc etc > > Why is this so? > I'm compiling the project in C rather than Objective C. Is that a > possible reason? > > How do I fix this? > > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > > > > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > |