Q: "Maemomm Fremantle, missing declarations"



Lassi,

I have spotted your e-mail about the issue you have had back in Aug 2009
with compiling hildonized gtkmm project for Fremantle.

<http://www.mail-archive.com/gtkmm-list gnome org/msg13434.html>

I found myself in the same shoes a year later. I am trying to build one
of my projects for n900 and the same code builds fine for n800/n810.

Compiler parses one of my header files and detects a conflict between
Gtk::Hildon and Hildon namespaces:

error: reference to 'Hildon' is ambiguous

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
/usr/include/hildonmm/hildonmm/animation-actor.h:36: error: candidates
are: namespace Hildon { }

namespace Hildon
{ class AnimationActor_Class; } // namespace Hildon


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
/usr/include/gtkmm-2.4/gtkmm/enums.h:1420: error: namespace Gtk::Hildon
{ }

namespace Gtk
{

#ifdef GTKMM_MAEMO_EXTENSIONS_ENABLED
namespace Hildon
{

 /**
 * @ingroup gtkmmEnums
 */
...

} // namespace Hildon

#endif /* GTKMM_MAEMO_EXTENSIONS_ENABLED */
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

The suggestion was to check gtkmmconfig.h:

"Can you check that GTKMM_MAEMO_EXTENSIONS_ENABLED is defined in
usr/lib/gtkmm-2.4/include/gtkmmconfig.h"

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#include <gdkmmconfig.h>

/* version numbers */
#define GTKMM_MAJOR_VERSION 2
#define GTKMM_MINOR_VERSION 14
#define GTKMM_MICRO_VERSION 5

/* #undef GTKMM_ATKMM_ENABLED */
#define GTKMM_MAEMO_EXTENSIONS_ENABLED 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

You have mentioned that you somehow mitigated the problem by removing
'#include <hildonmm.h>' everywhere in your program and including only
what was absolutely necessary.

Did it work out for you in the end? 
Can you, please, point me to your project (if it is OSS) so that I can
take a closer look?

thanks,
--Vlad





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