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

Re: sigc++ library missing object.h file



On Sat, Oct 08, 2022 at 09:17:11AM -0700, Gary L. Roach wrote:
> Unfortunately, rewriting
> the program is beyond my present capability without extensive study. I don't
> want to go there. The one idea that is intriguing is to find another
> distribution that contains the missing file and add it to my sigc++
> directory.

Don't mix headers from different versions of the library.  There's no way
that will lead anywhere good.

> On 10/8/22 00:57, Max Nikulin wrote:
> > https://github.com/libsigcplusplus/libsigcplusplus/blob/master/NEWS
> > > 2.5.2 (unstable):
> > > 
> > > * Remove useless headers:
> > >     sigc++/class_slot.h
> > >     sigc++/hide.h
> > >     sigc++/method_slot.h
> > >     sigc++/object.h
> > >     sigc++/object_slot.h
> > >     sigc++/retype.h
> > >   Some of these still have equivalents in sigc++/adaptors/
> > >   (Kjell Ahlstedt, Murray Cumming) Bug #752560

I did a google search and came up with
<https://github.com/dbus-cxx/libsigc--3.0/blob/master/ChangeLog>
which says:

  2015-08-13  Kjell Ahlstedt  <kjell.ahlstedt@bredband.net>

  Remove the sigc++/object.h header

  Because it now contains no API.
  See https://bugzilla.gnome.org/show_bug.cgi?id=752560#c6

So now we know what "Bug #752560" refers to.  That site also claims that
sigc++/object.h contains no functional code, but warns that removing it
would break applications which happen to include it.

>From a previous message, it appears you've already tried commenting out
the #include, and you still get errors of some kind.  At this point, it
would seem that these errors are coming from something *other* than
your deprecated header file.

In short, the program you're trying to build was written to use an older
version of libsigc++.  You may need to do one of these things:

 * Update your program (gspeaker?) to use the current libsigc++ API.
 * Build and install an older version of libsigc++, ideally in a local
   directory, NOT in /usr.
 * Find a way to achieve your goals without using gspeaker at all.


Reply to: