RE: libgdamm.h: No such file or directory



Hi

i am trying the simple example of gridview

using ubuntu not debian,
already installed libgdamm5.0-dev

// GTKmm
#include <memory.h>
#include <gtkmm.h>
#include <libgdamm.h>
#include <libgnomedbmm.h>

/*
class ExampleWindow : public Gtk::Window
{
public:
  ExampleWindow(const Glib::RefPtr<Gnome::Gda::Dict>& dict);
   
private:
#ifdef GLIBMM_EXCEPTIONS_ENABLED
  void create_model(const Glib::RefPtr<Gnome::Gda::Dict>& dict);
#else
  void create_model(const Glib::RefPtr<Gnome::Gda::Dict>& dict, std::auto_ptr<Glib::Error>& error);
#endif
  Glib::RefPtr<Gnome::Gda::DataModelQuery> m_model;
   
  Gtk::VBox m_box;
  Gtk::Label m_label;
  Gnome::Db::Grid* m_grid;
};*/

Regards,

Martin

> Date: Sat, 9 Aug 2014 16:07:30 +0200
> From: jonasplatte gmail com
> To: gtkmm-list gnome org
> Subject: Re: libgdamm.h: No such file or directory
>
> Hi,
>
> What do you want with libgda when you want to use libgdamm? I guess you
> use a Debian-based distro as you have these other packages (I find them
> on my Ubuntu 14.04 server).
>
> What you need is the package libgdamm5.0-dev, not libgda-5.0-dev.
>
> You also don't have to install any of those other packages explicitly as
> they are all dependencies of libgdamm5.0-dev. The same should apply to
> the pkg-config invocation: libgdamm-5.0.pc should depend on
> libgda-5.0.pc, so you don't have to specify libgda-5.0 explicitly (you
> should only do this if you use libgda directly too).
>
> Am 09.08.2014 um 10:49 schrieb Lee Martin CCNP:
> >
> > Hi
> >
> > libgda-5.0-4 already the newest version
> > libgda-5.0-dev already the newest version
> >
> > g++ main.c -o main 'pkg-config gtkmm-3.0 libgdamm-5.0 libgda-5.0
> > --cflags --libs'
> >
> > is it the compile wrong when libgda already install?
> >
> > Regards,
> >
> > Martin
> >
> > ------------------------------------------------------------------------
> > Date: Fri, 8 Aug 2014 16:41:35 +0530
> > Subject: RE: libgdamm.h: No such file or directory
> > From: khadgaray gmail com
> > To: tesleft hotmail com
> > CC: mk acc umu se; gtkmm-list gnome org
> >
> > Hi
> >
> > Search for gda devel package .
> >
> > On 8 Aug 2014 15:05, "Lee Martin CCNP" <tesleft hotmail com
> > <mailto:tesleft hotmail com>> wrote:
> >
> >
> > Hi
> >
> > libgnomedbmm.h no such file,
> >
> > sudo apt-get install libgnomedbmm
> >
> > can not find this package
> > apt-cache search libgnomedbmm
> >
> > Regards,
> >
> > Martin
> > > Date: Fri, 8 Aug 2014 11:01:53 +0200
> > > From: mk acc umu se <mailto:mk acc umu se>
> > > To: tesleft hotmail com <mailto:tesleft hotmail com>
> > > CC: gtkmm-list gnome org <mailto:gtkmm-list gnome org>
> > > Subject: Re: libgdamm.h: No such file or directory
> > >
> > > On Sat, Aug 02, 2014 at 10:15:23PM +0800, Lee Martin CCNP wrote:
> > > > Hi
> > >
> > > Sorry for the late reply. Please remember to always cc the list, that
> > > way you may get quicker responses.
> > >
> > > > After using
> > > >
> > > > pkg-config gtkmm-3.0 libgdamm-5.0 --cflags --libs
> > > >
> > > > got errors
> > > >
> > > > wonder wonder-VirtualBox:~/qsort$ g++ main.c -o main `pkg-config
> > gtkmm-3.0 libgdamm-5.0 --cflags --libs`
> > > > Package libgdamm-5.0 was not found in the pkg-config search path.
> > > > Perhaps you should add the directory containing `libgdamm-5.0.pc'
> > > > to the PKG_CONFIG_PATH environment variable
> > > > No package 'libgdamm-5.0' found
> > > > main.c:13:19: fatal error: gtkmm.h: No such file or directory
> > > > compilation terminated.
> > > > wonder wonder-VirtualBox:~/qsort$ g++ main.c -o main `pkg-config
> > gtkmm-3.0 libgdamm-5.0-13 --cflags --libs`
> > > > Package libgdamm-5.0-13 was not found in the pkg-config search path.
> > > > Perhaps you should add the directory containing `libgdamm-5.0-13.pc'
> > > > to the PKG_CONFIG_PATH environment variable
> > > > No package 'libgdamm-5.0-13' found
> > > > main.c:13:19: fatal error: gtkmm.h: No such file or directory
> > > > compilation terminated.
> > > > wonder wonder-VirtualBox:~/qsort$
> > >
> > > Looks like you don't have libgdamm-5.0.pc installed. It's the file
> > which
> > > pkg-config takes the compiler flags from. Make sure it's installed by
> > > installing the development package for libgdamm. It's probably called
> > > something like libgdamm5.0-dev.
> > >
> > > Marcus
> >
> > _______________________________________________
> > gtkmm-list mailing list
> > gtkmm-list gnome org <mailto:gtkmm-list gnome org>
> > https://mail.gnome.org/mailman/listinfo/gtkmm-list
> >
> >
> >
> > _______________________________________________
> > gtkmm-list mailing list
> > gtkmm-list gnome org
> > https://mail.gnome.org/mailman/listinfo/gtkmm-list
> >
>
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> https://mail.gnome.org/mailman/listinfo/gtkmm-list


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