Re: Maemomm Fremantle, missing declarations
- From: Lassi Väätämöinen <lassi vaatamoinen gmail com>
- To: David King <davidk openismus com>
- Cc: Gtkmm mailing list <gtkmm-list gnome org>
- Subject: Re: Maemomm Fremantle, missing declarations
- Date: Thu, 06 Aug 2009 15:55:50 +0300
David King wrote:
> On 2009-08-06 15:38, Lassi Väätämöinen <lassi vaatamoinen gmail com> wrote:
>> David King wrote:
>>> On 2009-08-06 15:09, Lassi Väätämöinen <lassi vaatamoinen gmail com>
>>> wrote:
>>>> Hi,
>>>>
>>>> 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?
>>>
>>
>> Yes, I have included these appropriately (to my judgement, at least).
>> Compiler flags that I have used are given by pkg-config:
>>
>> % pkg-config --cflags hildonmm
>> -DMAEMO_CHANGES -DMAEMO_GTK -I/usr/include/hildonmm
>> -I/usr/lib/hildonmm/include -I/usr/include/gtkmm-2.4
>> -I/usr/lib/gtkmm-2.4/include -I/usr/include/hildon-1
>> -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include
>> -I/usr/include/giomm-2.4 -I/usr/lib/giomm-2.4/include
>> -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include
>> -I/usr/include/pangomm-1.4 -I/usr/include/gtk-2.0
>> -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include
>> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
>> -I/usr/lib/gtk-2.0/include -I/usr/include/cairomm-1.0
>> -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1
>> -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/atk-1.0
>
> OK, that looks fine, and matches with the output that I have. Can you
> check that GTKMM_MAEMO_EXTENSIONS_ENABLED is defined in
> usr/lib/gtkmm-2.4/include/gtkmmconfig.h ? Also, which version of gtkmm
> is this?
>
Yes, extensions are enabled, version info is:
% pkg-config gtkmm-2.4 --modversion
2.14.4
-Lassi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]