From: Arno P. <ar...@pu...> - 2011-02-13 17:07:11
|
note that --target=objc only cross-compiles to Objective-C, nothing else. The dependent classes (such as the ones you've mentioned) will not be copied to the --out directory. The other targets (such as 'iphone') will do this. Arno On 2/13/11 6:37 AM, Miggi wrote: > Hi there > > I've some problems with cross-compiling Java-files into Objective-C. > When I tried it, I got a .h and .m for every .class file. That's ok. But > when I tried to build it in Xcode, I got several errors because things > like java.lang.Object or java.lang.String couldn't be found. What did I > wrong that such simple and basic classes weren't found? > > The way I've cross-compiled the classes were: > java -jar<path to xmlvm.jar> --in=<path to folder with java-files> > --out=<path to an empty folder> --target=objc > > Do I have to add something? Or isn't it possible to copy the resulting > files in an empty Xcode-project and to build it? > > Thanks for your answers. > > Miggi > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |