Re: Maemomm Fremantle, missing declarations

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

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