Active Topics

 


Reply
Thread Tools
Posts: 569 | Thanked: 462 times | Joined on Jul 2010 @ USA
#1
I am taking another shot at this:

How would I set up to compile play-sound and run it on the N900?
The source code is at
http://maemo.gitorious.org/fremantle...c/play-sound.c

I have made several starts & spent a few weekends trying to get something going, with no luck. I got closest I think with installing Code::Blocks on a Windows XP machine, but was stymied setting up the environment & installing the libraries needed for play-sound.c

A from-the-bottom description of what's needed would be best. I have Ubuntu & Windows XP machines available for use. My C programming history is mostly via the Borland Turbo C IDE (back in the day).
 
laasonen's Avatar
Posts: 565 | Thanked: 618 times | Joined on Jun 2010 @ Finland
#2
Maemo 5 SDK.
__________________
Couple of my applications:
ConnLock - Advanced phone lock
Sanakirja.org - A Sanakirja.org dictionary client
Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers
 
Posts: 958 | Thanked: 483 times | Joined on May 2010
#3
same issue as me (though i am working on a different app) but getting the environment setup is so confusing because there are so many options and too much information.

the easiest way is to use the VM virtual machine
http://tablets-dev.nokia.com/maemo-d...-downloads.php

download the one called Maemo_Ubuntu_Lucid_Desktop_SDK_Virtual_Image_Final .7z

then go to vmware and download vmware player 2.5 and your environment will be ready in less time than you can say supercalifragilisticexpialidocious
 

The Following User Says Thank You to droll For This Useful Post:
Posts: 235 | Thanked: 339 times | Joined on Nov 2010
#4
  1. SDK
  2. apt-get build-dep osso-af-utils
  3. apt-get source osso-af-utils #Obtains source from Fremantle SDK repo. apt-get install git && git clone git://gitorious.org/fremantle-hildon-desktop/osso-af-utils.git for Git version
  4. cd osso-af-utils*
  5. Make changes...
  6. dpkg-buildpackage -rfakeroot
  7. Find deb package in folder above; profit!

Last edited by jstokes; 2011-07-02 at 09:25.
 
Posts: 569 | Thanked: 462 times | Joined on Jul 2010 @ USA
#5
I have tried before to work from this direction, and in this attempt am again encountering problems:

In the instructions for installation of the Maemo 5 SDK at
http://wiki.maemo.org/Documentation/...l_Installation

This step is completed:
* Log-in to Scratchbox.

$ /scratchbox/login
The next instruction is
* Configure the scratchbox x86 and armel targets as follows:

[sbox->:~]>sb-conf st FREMANTLE_X86 -c cs2007q3-glibc2.5-i486 -d perl:debian-etch:doctools:svn:git -t none
That prompt is not the prompt shown in Terminal after completing the preceding step. The prompt in Terminal (on Ubuntu) is

[sbox-MYTARGET: ~]
not
[sbox->:~]

as shown in the instructions.
Should that command
[sbox->:~]>sb-conf st FREMANTLE_X86 -c cs2007q3-glibc2.5-i486 -d perl:debian-etch:doctools:svn:git -t none
be run at the [sbox-MYTARGET: ~] prompt, or is it necessary to switch to another directory?
 
Posts: 958 | Thanked: 483 times | Joined on May 2010
#6
ignore the prompt. just type that command in.

otherwise, run sb-menu, go to Setup and pick the appropriate target. in the case of the instruction above, the target should be FREMANTLE_X86
 
Posts: 569 | Thanked: 462 times | Joined on Jul 2010 @ USA
#7
Thank you.

Now at the step
* Accept the EULA from here to obtain the URL to access the Nokia binaries repository.
* Add the URL thus obtained to the Scratchbox target's /etc/apt/sources.list and do the following:

[sbox-FREMANTLE_X86: ~] >apt-get update
[sbox-FREMANTLE_X86: ~] >fakeroot apt-get install nokia-binaries nokia-apps
This error occurs:
[sbox-FREMANTLE_X86: ~] > fakeroot apt-get install nokia-binaries nokia-apps
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package nokia-binaries
[sbox-FREMANTLE_X86: ~] >
 
Posts: 958 | Thanked: 483 times | Joined on May 2010
#8
just download the virtual machine and u're done. you don't need to do all that stuff. the latest build of the vm image is much nicer to use than the old ones (which required quite a bit of post installation steps).
 
Posts: 569 | Thanked: 462 times | Joined on Jul 2010 @ USA
#9
Originally Posted by droll View Post

the easiest way is to use the VM virtual machine
http://tablets-dev.nokia.com/maemo-d...-downloads.php

download the one called Maemo_Ubuntu_Lucid_Desktop_SDK_Virtual_Image_Final .7z

then go to vmware and download vmware player 2.5 and your environment will be ready in less time than you can say supercalifragilisticexpialidocious
The Maemo Virtual Image was successfully downloaded & extracted.

The VMWare Player install hangs on the "Configuring..." screen.
This PC is running Ubuntu 10.04, & the VMWare Player version is 2.5.5

Are you on different versions of Ubuntu or VMWare Player?
Attached Images
 
 
Posts: 958 | Thanked: 483 times | Joined on May 2010
#10
i am running v2.5.5 of vmware player, build 328052.however, i am running this on a windows system - not ubuntu. it installs fine and runs perfectly.

google a bit and you'll find issues with player 2.5 hanging on ubuntu.

http://mahendrakariya.blogspot.com/2...on-ubuntu.html
http://communities.vmware.com/message/1381202

just some hints but those are for different versions of ubuntu. you might want to check the installation log of vmplayer. according to one of the URLs above it is at /tmp/vmware-root/
 
Reply


 
Forum Jump


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