[gtkmm] cannot find gtkmm.h


I've been trying to update my gtk libraries to the latest versions.  I'm coding applications using gtkmm.  A lot of sample code I found in the internet use gtkmm.h instead of gtk--.h.  I've read that gtk--.h is the outdated version.  I'm using mandrake 10 community edition, kernel 2.6.3-4mdk.

Here are the steps I've done:

  I've also installed gtk+-2.4.3

When I compile a simple application like:

#include <gtkmm.h>

int main( int argc, char** argv )
    return 0;

compile with: g++ MyApp.cc -o MyApp `gtkmm-config --cflags --libs`
I get an error:
  MyApp.cc:1:19: gtkmm.h: No such file or directory

Some of the sites I've been told me to install libgtkmm-devel.  But I already have libgtkmm1.2-devel-1.2.10-7mdk.  Plus, I can't seem to find any libgtkmm2-devel download site.  Most were for debian which didn't really have a download link.

What am i missing here?
I would really appreciate your help.  Thanks for your time.


Visit Atenista.Net, Your Portal to the Atenean Community!
Click here: http://www.atenista.net

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