From: Sascha H. <sa...@gm...> - 2009-08-19 23:22:48
|
Instead of: --in=bin\org\xmlvm\demo\ihelloworld\landscape\HelloWorld try: --in=bin\org\xmlvm\demo\ihelloworld\landscape\HelloWorld.class or --in=bin\org\xmlvm\demo\ihelloworld\landscape\ Both should work. // Sascha On Wed, Aug 19, 2009 at 9:29 PM, <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 > |