- Talk - Talk (
-   Development (
-   -   Unresolved inclusion: <gtkmm.h> (

Ricardo 2010-04-03 03:47

Unresolved inclusion: <gtkmm.h>
Dear all,

I've programmed a bit on the N900 without the SDK, using Perl and Python, from my PC via SSH... but I wanted to try the newest SDK and Qt.

After installing Ubuntu, SDK, Java, ESbox, C++ and Qt packages, I followed the Get Started with Maemo 5 presentation at Forum.Nokia.Com.

Unfortunately I could not build the "Hello World" application (at "Example: Basic application" -> "Building and running application" -> "Build and run in Scratchbox with ESbox"). I used the provided source but ESbox showed these errors:

Unresolved inclusion: <gtkmm.h>
Unresolved inclusion: <hildonmm.h>

In fact, I have them installed:



I could get past the last one by changing the include

from: #include <hildonmm.h>
to..: #include <hildonmm/hildonmm.h>

I tried to do something similar to the gtkmm.h, but it didn't work:

from: #include <gtkmm.h>
to..: #include <gtkmm-2.4/gtkmm.h>

Does anyone have any idea of what am I doing wrong?


gri 2010-04-03 13:32

Re: Unresolved inclusion: <gtkmm.h>
You should use pkg-config.

Add the following to your .pro file (for gtkmm)

CONFIG += link_pkgconfig
PKGCONFIG += gtkmm-2.4

Ricardo 2010-04-03 15:57

Re: Unresolved inclusion: <gtkmm.h>
Thanks, gri... but I was mistaken. ESbox IDE shows that the inclusions are unresolved, but in fact the build works - so this is not a serious problem, just a nuisance. Sorry about the noise...

All times are GMT. The time now is 01:30.

vBulletin® Version 3.8.8