PDA

View Full Version : Very Confused


Geck0killer
02-04-2009, 10:03 PM
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/documentation/tutorials/maemo_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?

Frank Banul
02-04-2009, 10:51 PM
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

Geck0killer
02-04-2009, 11:06 PM
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!

Frank Banul
02-05-2009, 04:08 PM
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

Frank Banul
02-05-2009, 04:11 PM
Sorry, I didn't mention debs. Towards the bottom of the tutorial, see Installing to SDK.

Frank

Geck0killer
02-05-2009, 04:32 PM
Thanks! Ill try it now.

Geck0killer
02-05-2009, 08:25 PM
One more question. How would you go about extracting the source code from a .deb file?