From: Arno P. <ar...@pu...> - 2010-03-26 14:22:31
|
ok, I think I know what you do wrong. You first have to compile the Java sources with javac, *then* run xmlvm over the generated class files. Your --in argument points to the *source* directory, not the directory where the .class files should reside. Since there are no .class files in the --in directory you specified, you get the errors you observed. Arno On 3/26/10 7:19 AM, Olaf Gottschalk wrote: > yes! > That works! > > But tell me, where's the difference? I thought that the ant command prepares xmlvm itself - not the demos. Thus, after building xmlvm, I created a new, empty directory and ran: > > xmlvm --in=<path-to-xmlvm>/demo/iphone/ifireworks --target=iphone --app-name=ifireworks. > make > > => which leads directly to the linker error described. > > Even SayHello works fine using the dist/demo/android/sayhello pre-build Xcode project!! > > But what on earth is different when I try to cross-compile it myself??? > Again, all I do in an empty directory is > > xmlvm --in=<path-to-xmlvm>/demo/android/sayhello --target=android-on-iphone --app-name=sayhello > make > > Can you try it that way, too? Or did you do it like that? > > My problem is: I want to port my own program, not SayHello... :-) Thus, I need to get it running "myself", not through the dist. :-( > > Thanks again!!! > Olaf > > > -------- Original-Nachricht -------- >> Datum: Fri, 26 Mar 2010 07:08:24 -0700 >> Von: Arno Puder<ar...@pu...> >> An: Olaf Gottschalk<Zor...@gm...> >> CC: xml...@li... >> Betreff: Re: [xmlvm-users] Help needed: problems getting started with android-on-iphone > >> >> after running 'ant', try: >> >> open dist/demo/iphone/ifireworks/iphone/iFireworks.xcodeproj/ >> >> this works flawlessly for me. If this does not work for you, I'm running >> out of ideas what might be the problem with your configuration. >> >> Arno > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |