[maemo-developers] osso_initialize: how to make it work?

From: Daniil Ivanov daniil.ivanov at gmail.com
Date: Mon Jun 7 22:52:28 EEST 2010
Hi Maemo!

  You need either gtk_init or hildon_init first.

Thanks, Daniil.

On Mon, Jun 7, 2010 at 10:41 PM,  <maemo.mexon at spamgourmet.com> wrote:
> I've been scouring the documentation on maemo.org and getting pretty
> frustrated.  Almost none of it is up to date, and almost none of it is
> relevant to a beginning developer.  So:
>
> Here is my code:
>
> #include <stdio.h>
> #include <libosso.h>
>
> int main(int argc, char* argv[])
> {
>    osso_context_t* osso;
>
>    osso = osso_initialize("name.exon.mapcacher", "20100529", TRUE,  NULL);
>    if (!osso)
>    {
>        printf("Failed to initialise osso\n");
>        return 1;
>    }
>
>    return 0;
> }
>
> Here is the output:
>
> Failed to initialise osso
>
> Why?
>
> Also, what does "osso" mean?  Years of using Maemo, I've never figured that
> out.
>
> Is there any genuine getting started tutorial showing how to write a program
> that actually works in Maemo?  Is there a hello world application that's
> less than a hundred lines, with an explanation of what all those lines are
> for?
>
> _______________________________________________
> maemo-developers mailing list
> maemo-developers at maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers
>
More information about the maemo-developers mailing list