Re: [gtkmm] Desperately trying to build gtkmm 1.2



> I am trying to build gtkmm 1.2.8 on RHEL3.  It's required by the binary-
> only setup utility for my wireless card.

Do complain to Red Hat for not distribution gtkmm and/or that setup thing.
You are paying them.

>  I've managed to get libsigc++
> 1.0.4 built and installed, which makes the gtkmm configure script work.
>
> After working for a while, however, the build dies with the following
> error:
>
> c++ -DHAVE_CONFIG_H -I../.. -DGTKMM_IMPLEMENTATION
> -DG_LOG_DOMAIN=\"Gtk--\" -I./.. -I.. -I../../gdk--
> -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
> -I/usr/X11R6/include -I/usr/lib/sigc++-1.0/include
> -I/usr/include/sigc++-1.0 -g -O2 -Wall -Wno-unused -c editable.cc  -fPIC
> -DPIC -o editable.lo
> editable.cc:9: error: default argument given for parameter 1 of
> `std::string
>     Gtk::Editable::get_chars(int, int) const'

You need to remove the default argument values (such as "= true") from the
.cc files. They should only be in the .h files.

Hopefully these changes are in gtkmm 1.2 in cvs. I would make a new
release if I could build it from cvs with recent autotools.

If anyone wants to try to build gtkmm 1.2 from cvs and/or distcheck it,
that would be nice.

Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com



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