Reply
Thread Tools
Posts: 2 | Thanked: 0 times | Joined on May 2010 @ Germany
#1
Hi all,

I recently bought a Nokia N900 and one of the more important reasons for not getting an Android phone was the possibility to run my own software on the device without resorting to some kind of jailbreak and without being dependent on some sort of marketplace or app store.

So I downloaded the SDK from

http://www.forum.nokia.com/info/sw.n...emo_5_SDK.html

as well as esbox from

http://esbox.garage.maemo.org/2nd_ed...n_product.html

and installed them on karmic koala. The development environment seems to work, because I was able to compile the plain C hello world example that comes with esbox and install it on my N900.

Because I prefer to develop in C++ I tried to do the same with the C++ hello world example from esbox. I added the extras-devel repository to appmanager on my device and installed the maemo-cplusplus-device-env package on my N900.

After that I compiled the C++ hello world example and tried to install the resulting .deb package on the device. Unfortunately it turned out that my program depends on libhildon1 2.2.10 whereas libhildon1 2.2.3 is installed on the device. So I can't install my software on my N900.

I researched this forum and found out that this will probably fix itself when the PR1.2 firmware will be released. Unfortunately noone seems to know when this will be. So I am now stuck in the situation where I can develop C++ software that runs on a simulator but not on my device, which is unsatisfactory.

I see in principle two possibilities to fix this:

1. Configure my current build enviroment so that it creates a binary the can be installed on an existing device
2. Download and install an older version of the SDK.

Does anyone know whether solution 1. or 2. is possible? If yes can someone point me to a resource which describes how to implement them?

Thanks in advance

Nitram

P.S. As a side note: I tried to download the development VM from

http://maemovmware.garage.maemo.org/2nd_edition/

but unfortunately the download directory referenced on the sidebar to the right of the webpage only contains a tool which allows to flash my N900 and some documentation but no VM image.
 
Posts: 726 | Thanked: 345 times | Joined on Apr 2010 @ Sweden
#2
Option number 1 is possible, as far as I know. Copy the libraries you need from your device to your development environment and link against those instead of against the libraries that came with the SDK.

You will need to install the dev package too but that's not too much work.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 17:39.