![]() |
Problems building "Hello world"
Fully motivated I want to join the club of developers, and start programming applications for the N900. But somehow I'm already stuck with the "hello world" example. :(
Maybe first what I've done so far: 1. Tried the maemo SDK virtual image on my windows machine, followed the instructions and code on the forum.nokia.com website (http://www.forum.nokia.com/info/sw.n...h_Maemo_5.html) Somehow I wasn't able to build the application in this VM, so I decided to set up a laptop with Ubuntu and all the development tools 2. Installed Ubuntu, scratchbox, maemo SDK and ESBox following this guide: http://wiki.maemo.org/Documentation/...l_Installation 3. Followed the example again, and ended up at the same point. Following is the error message I get (in VM and the Ubuntu machine): Code:
configure: error: Package requirements (hildonmm libosso) were not met: Hope that somebody can help me... |
Re: Problems building "Hello world"
Quote:
(Randomly links back to these forums) |
Re: Problems building "Hello world"
Tried it, but I get the following error message:
Code:
Reading package lists... Done Again I tried it with and without scratchbox. |
Re: Problems building "Hello world"
Quote:
I'm heading home to try it all now - so catch up with you soon! :) |
Re: Problems building "Hello world"
Well, the "hello world" example that you're trying to build is the C++ one.
The C++ bindings for Gtk+/Hildon are supported by the community (by the Openismus guys), so the hildonmm packages are in the Extras repositories (not installed in the default installation) Add this line to the /etc/apt/sources.list in scratchbox: deb http://repository.maemo.org/extras-devel fremantle free non-free And then, apt-get update, and apt-get install libhildonmm-dev If you want the default examples (in plain C) are here: https://garage.maemo.org/svn/maemoexamples/trunk/ I know that the one in Forum Nokia is the C++ one, it's a bit confusing because the Hildonmm/Gtkmm isn't supported officially. |
Re: Problems building "Hello world"
Quote:
fakeroot apt-get update fakeroot apt-get install libhildonmm-dev |
Re: Problems building "Hello world"
I logged myself in to scratchbox and did the commands for each of my targets and now it works! :)
@lardman: is logging in to scratchbox equal to using fakeroot in the 'regular' terminal? I'm still a little confused with these scratchbox / fakeroot / target things... |
Re: Problems building "Hello world"
Quote:
Lol was going to ask what fakeroot does, but i think common sense may have got the better of me :) fakeroot runs a command in an environment were it appears to have root privileges? Therefore removing the need to do everything in root? - just a guess :) |
Re: Problems building "Hello world"
Quote:
|
All times are GMT. The time now is 01:56. |
vBulletin® Version 3.8.8