Posts: 9 | Thanked: 0 times | Joined on Feb 2008
#1
I am running vista and I installed the the maemo SDK following the instructions on thus site: http://maemovmware.garage.maemo.org/
I start VmWare and run the Install Nokia Binaries.
I then run Maemo Scratchbox.
This comes up on the scratchboc command line :

Welcome to Scratchbox, the cross-compilation toolkit!

Use 'sb-menu' to change your compilation target.
See /scratchbox/doc/ for documentation.

[sbox-DIABLO_X86: ~] >.

I then try and follow these instructions: http://maemo.org/development/documen..._4-0_tutorial/

I keep getting stuck at step 5: Create file "maemo_hello.c" with the source code below...

How do you create that file and where do you place it?
 
Posts: 398 | Thanked: 301 times | Joined on Sep 2007 @ Texas
#2
Using your favorite text editor? Vi, emacs, gedit? You need to place the file in the scratchbox environment, /scratchbox/users/<user id>/home/<user id> where <user id> is your login id.

I hope I'm understanding your question.

Frank
 
Posts: 9 | Thanked: 0 times | Joined on Feb 2008
#3
and the user id is...? I have never been prompted for an id.
and after that do i just run: [sbox-DIABLO_X86: ~] >run-standalone.sh ./maemo_hello ?
and my final question... can you open .deb files through the scratchbox?

Thanks for the quick reply!
 
Posts: 398 | Thanked: 301 times | Joined on Sep 2007 @ Texas
#4
To find your userid, type whoami.

After you create the file, from your tutorial link follow step 6 and onward. You have to compile the program and then give it a place to run.

Frank
 
Posts: 398 | Thanked: 301 times | Joined on Sep 2007 @ Texas
#5
Sorry, I didn't mention debs. Towards the bottom of the tutorial, see Installing to SDK.

Frank
 
Posts: 9 | Thanked: 0 times | Joined on Feb 2008
#6
Thanks! Ill try it now.
 
Posts: 9 | Thanked: 0 times | Joined on Feb 2008
#7
One more question. How would you go about extracting the source code from a .deb file?
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 22:01.