From: <ART...@Au...> - 2009-08-19 20:28:07
|
Ah, ok... I am trying to compile the java class that was provided with xmlvm... so there should be no issue there. Is there something wrong with the way I am trying to compile? Also, when I run the make file out of the dist/demo... (the one that is supplied), I get the simulator up, but no app is in it.. even if I swipe left. If I swipe right, I get the search... Thank you, Andy -----Original Message----- From: Arno Puder [mailto:ar...@pu...] Sent: Wednesday, August 19, 2009 4:15 PM To: xml...@li... Subject: Re: [xmlvm-users] Running the provided iHelloWorld example. if you check XMLVM's log messages carefully you will notice that it issues a warning. It seems that it cannot read in the input .class files you have provided which explains why you are missing 4 files and therefore there is no main function. Arno ART...@Au... wrote: > Nope, it looks like it is missing 4 files... one of which is the iHelloWorld in build/iHelloWorld.app. > > Am I cross compiling it wrong? > > This is my command and output... > > C:\Documents and Settings\artipton\My Documents\MyEclipse 7.5\Workspaces\Borg\xm > lvm>java -jar dist\xmlvm.jar --in=bin\org\xmlvm\demo\ihelloworld\landscape\Hell > oWorld --target=iphone --iphone-app=HelloWorld --out=output > [08/19/09 11:37:30.432] WARNING: Unable to create InputProcesses for input: bin > \org\xmlvm\demo\ihelloworld\landscape\HelloWorld > [08/19/09 11:37:30.448] DEBUG: Instantiated: org.xmlvm.proc.out.IPhoneOutputP > rocess > [08/19/09 11:37:30.448] DEBUG: Processing IPhoneOutputProcess > [08/19/09 11:37:30.479] DEBUG: Processing finished successfully. > [08/19/09 11:37:44.119] DEBUG: Writing file: output\MakeVars > [08/19/09 11:37:44.151] DEBUG: Writing file: output\Info.plist > [08/19/09 11:37:44.166] DEBUG: Writing file: output\Makefile > [08/19/09 11:37:44.182] DEBUG: Files written successfully. > > C:\Documents and Settings\artipton\My Documents\MyEclipse 7.5\Workspaces\Borg\xm > lvm>java -jar dist\xmlvm.jar --in=bin\org\xmlvm\demo\ihelloworld\landscape\Hell > oWorld --target=iphone --iphone-app=HelloWorld --out=output > > > > > -----Original Message----- > From: Arno Puder [mailto:ar...@pu...] > Sent: Wednesday, August 19, 2009 2:40 PM > To: xml...@li... > Subject: Re: [xmlvm-users] Running the provided iHelloWorld example. > > > that is bizarre! Can you please check the your output folder contains > the same files as in xmlvm/dist/demo/iphone/ihelloworld/portrait/iphone > (after running ant) > > Arno > > > ART...@Au... wrote: >> When I run the make command in the output folder (where xmlvm outputted the files), it will not run... >> >> I get this still... >> >> Undefined symbols: >> "_main", referenced from: >> start in crt1.10.5.o >> ld: symbol(s) not found >> collect2: ld returned 1 exit status >> make: *** [build/HelloWorld.app/HelloWorld] Error 1 >> >> This is the xmlvm command I am running to cross compile the iHelloWorld example Java app... >> >> java -jar dist\xmlvm.jar --in=bin\org\xmlvm\demo\ihelloworld\landscape\HelloWorld --target=iphone --iphone-app=HelloWorld --out=output >> >> Andy >> >> -----Original Message----- >> From: Arno Puder [mailto:ar...@pu...] >> Sent: Wednesday, August 19, 2009 2:22 PM >> To: xml...@li... >> Subject: Re: [xmlvm-users] Running the provided iHelloWorld example. >> >> >> the Makefile can start the emulator automatically, but unfortunately not >> the application inside the emulator (haven't figured out how to do >> that). With the new Xcode 3.0, the application is installed in a >> separate screen. You have to 'swipe' the main screen one to the left and >> there you should find your application. >> >> Arno >> >> >> ART...@Au... wrote: >>> I got the simulator installed... so now it brings it up... but the helloworld app isn't in the simulator... When I cross compile the iHelloWorld into a folder, should I be running the make from that folder? >>> >>> -----Original Message----- >>> From: Arno Puder [mailto:ar...@pu...] >>> Sent: Tuesday, August 18, 2009 7:49 PM >>> To: xml...@li... >>> Subject: Re: [xmlvm-users] Running the provided iHelloWorld example. >>> >>> >>> that is weird. The linking error indicates that there is no main() >>> function. But that should have been generated from the example. >>> >>> Which of the three Hello World versions are you using? I just did the >>> following: >>> >>> ant >>> cd dist/demo/iphone/ihelloworld/portrait/iphone >>> make >>> >>> That works perfectly fine for me. >>> >>> Arno >>> >>> >>> ART...@Au... wrote: >>>> Afternoon, >>>> >>>> >>>> >>>> I have been reading through the instructions and >>>> everything has gone great up to this point. First off, my setup... I am >>>> doing everything on Windows (sorry) up to the point of running the >>>> 'make' under the output directory. I have a mount to the windows folder >>>> on my Mac that I run the 'make' command (on the Mac). >>>> >>>> >>>> >>>> It compiles and then at the end I get this instead of it bringing up the >>>> emulator... >>>> >>>> >>>> >>>> Undefined symbols: >>>> >>>> "_main", reference from: >>>> >>>> Start in crt1.10.5.o >>>> >>>> Id: symbol(s) not found >>>> >>>> collect2: Id returned 1 exit status >>>> >>>> make: *** [build/hellp.app/hellpp] Error 1 >>>> >>>> >>>> >>>> Again I am starting with the supplied hello program... Any ideas? >>>> >>>> >>>> >>>> Thank you in advance, >>>> >>>> Andy Tipton Jr. >>>> >>>> Automationdirect.com >>>> >>>> Product Development >>>> >>>> >>>> >>>> >>>> ------------------------------------------------------------------------ >>>> >>>> ------------------------------------------------------------------------------ >>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >>>> trial. Simplify your report design, integration and deployment - and focus on >>>> what you do best, core application coding. Discover what's new with >>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>> >>>> >>>> ------------------------------------------------------------------------ >>>> >>>> _______________________________________________ >>>> xmlvm-users mailing list >>>> xml...@li... >>>> https://lists.sourceforge.net/lists/listinfo/xmlvm-users >>> ------------------------------------------------------------------------------ >>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >>> trial. Simplify your report design, integration and deployment - and focus on >>> what you do best, core application coding. Discover what's new with >>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>> _______________________________________________ >>> xmlvm-users mailing list >>> xml...@li... >>> https://lists.sourceforge.net/lists/listinfo/xmlvm-users >>> >>> ------------------------------------------------------------------------------ >>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >>> trial. Simplify your report design, integration and deployment - and focus on >>> what you do best, core application coding. Discover what's new with >>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>> _______________________________________________ >>> xmlvm-users mailing list >>> xml...@li... >>> https://lists.sourceforge.net/lists/listinfo/xmlvm-users >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> xmlvm-users mailing list >> xml...@li... >> https://lists.sourceforge.net/lists/listinfo/xmlvm-users >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> xmlvm-users mailing list >> xml...@li... >> https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ xmlvm-users mailing list xml...@li... https://lists.sourceforge.net/lists/listinfo/xmlvm-users |