Re: Win32 .pc files
- From: Cedric Gustin <cedric gustin gmail com>
- To: Foster Gareth <gareth foster siemens com>
- Cc: gtkmm-list gnome org
- Subject: Re: Win32 .pc files
- Date: Wed, 24 Aug 2005 13:28:48 +0200
You're talking about mounting /target. Are you running a cygwin bash ?
If yes, are you sure pkg-config is the one provided with the GTK+
distribution (gladewin32) and not with the cygwin distribution ('which
pkg-config' will tell you). I'm asking this because, unlike the native
win32 pkg-config, pkg-config from cygwin does not perform this
dynamical change of the prefix entry in .pc files...
On a side note, I try to install GTK+ and gtkmm on a win32 box, both
using the same root directory and separate ones, and I got the
expected result using pkg-config and the PKG_CONFIG_PATH trick I
mentioned earlier.
Cedric
On 8/22/05, Foster Gareth <gareth foster siemens com> wrote:
> > The value of the prefix entry in the .pc files does not matter on
> > win32, as pkg-config dynamically changes /target into the root of your
> > GTK+ installation.
> >
>
> That's worth knowing.
>
> > Now, this dynamical change can fail for gtkmm if gtkmm is not
> > installed with the same root directory as GTK+, say C:\Gtk for GTK+
> > and C:\gtkmm for gtkmm. In this particular case, you should set the
> > PKG_CONFIG_PATH environment variable (using the win32 syntax, with ";"
> > separators between directories. For example
> >
> > PKG_CONFIG_PATH=C:\Gtk\lib\pkgconfig;C:\gtkmm\lib\pkgconfig
> >
>
> Hmm, I did install them both into c:\gtk.
>
> > This should probably be done by the installer though. I might think
> > about adding this feature for gtkmm-2.8...
> >
>
> That would be worthwhile, I don't seem to be the only one with this problem.
>
> For the record the suggestion about mounting /target worked fine ... well
> except for getting these errors ...
>
>
> In file included from c:/gtk/include/gtkmm-2.4/gtkmm/combobox.h:33,
> from c:/gtk/include/gtkmm-2.4/gtkmm/comboboxentry.h:29,
> from ubertool.hh:17,
> from main.cc:10:
> c:/gtk/include/sigc++-2.0/sigc++/type_traits.h: In instantiation of
> `sigc::is_base_and_derived<sigc::trackable, Gtk::TreeView>':
> c:/gtk/include/sigc++-2.0/sigc++/functors/mem_fun.h:1990: instantiated
> from `sigc::bound_mem_functor3<void, Gtk::TreeView, const Glib::ustring&,
> int, const Glib::RefPtr<Gtk::TreeModel>&>'
> c:/gtk/include/gtkmm-2.4/gtkmm/treeview.h:1485: instantiated from here
> c:/gtk/include/sigc++-2.0/sigc++/type_traits.h:119: invalid use of undefined
>
> type `struct sigc::is_base_and_derived<sigc::trackable, Gtk::TreeView>'
> c:/gtk/include/sigc++-2.0/sigc++/type_traits.h:94: declaration of `struct
> sigc::is_base_and_derived<sigc::trackable, Gtk::TreeView>'
> c:/gtk/include/sigc++-2.0/sigc++/functors/mem_fun.h: In instantiation of
> `sigc::bound_mem_functor3<void, Gtk::TreeView, const Glib::ustring&, int,
> const Glib::RefPtr<Gtk::TreeModel>&>':
> c:/gtk/include/gtkmm-2.4/gtkmm/treeview.h:1485: instantiated from here
> c:/gtk/include/sigc++-2.0/sigc++/functors/mem_fun.h:1990: non-constant `
> sigc::is_base_and_derived<sigc::trackable, Gtk::TreeView>::value' cannot
> be
> used as template argument
> c:/gtk/include/sigc++-2.0/sigc++/type_traits.h: In instantiation of
> `sigc::is_base_and_derived<sigc::adaptor_base,
> sigc::bound_mem_functor3<void, Gtk::TreeView, const Glib::ustring&, int,
> const Glib::RefPtr<Gtk::TreeModel>&> >':
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]