RE: Win32 .pc files
- From: Foster Gareth <gareth foster siemens com>
- To: Cedric Gustin <cedric gustin gmail com>
- Cc: gtkmm-list gnome org
- Subject: RE: Win32 .pc files
- Date: Mon, 22 Aug 2005 13:45:30 +0100
> 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]