Re: Maemomm Fremantle, missing declarations

On 2009-08-06 15:09, Lassi Väätämöinen <lassi vaatamoinen gmail com> wrote:

it seems that Hildon::SizeType is not declared, e.g.:

/usr/include/hildonmm/hildonmm/button.h:188: error: 'Gtk::Hildon' has
not been declared

/usr/include/hildonmm/hildonmm/check-button.h:120: error: 'Gtk::Hildon'
has not been declared

/usr/include/hildonmm/hildonmm/picker-button.h:118: error: 'Gtk::Hildon'
has not been declared

Same goes with all other button-classes, not just these three. So I am
not able to compile applications..

Odd, I don't seem to have this problem with a fresh install of the SDK
and hildonmm. The examples in the maemomm-documentation package build
fine for me. The SizeType enum is defined in gtkmm/enums.h from Gtkmm,
I assume that you have the Gtkmm development package installed? That
file is included from hildonmm/button.h, and so SizeType should be
defined. Are you using pkg-config to set the include paths and
linker flags for your project?

Also, hildonmm.h does not seem #include libosso.h, as it used to on
Diablo and earlier. I guess this is not necessary? However, I have to
explicitly include libosso.h to use, for example,

osso_context_t* osso_context = osso_initialize();

Yes, that's correct, libosso is no longer required. If you want to use
it, then you will need to include the header. Alternatively, you could
try libossomm.

David King | | davidk openismus com

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]