Re: libfpx

Bob Friesenhahn <[email protected]> Thu, 15 Apr 2004 11:16:07 -0500 (CDT)
Newsgroups gmane.comp.video.graphicsmagick.core
Message-ID <Pine.GSO.4.44.0404151110400.11901-100000@scooby.simplesystems.org>
On Thu, 15 Apr 2004, Patrick Welche wrote:

> I tried to build 2 Apr GM with libfpx, but there seems to be a "libfpx is
> written in C++" problem at the libtool linking stage:

This problem is due to a libtool bug which I have reported to the
libtool mailing list.  It could perhaps be worked around by providing
a C++ language version of gm (e.g. gm.cc) in the case where libfpx is
found.

Libfpx is known to work properly under SPARC Solaris and Windows.  It
fails in strange ways under Linux and FreeBSD.  Perhaps one reason for
the Linux/FreeBSD linkage problem is due to using the C compiler to do
the link rather than C++.

> (BTW it was libfpx-1.2.0.9, and though _UNIX was automatically defined, I
> had to define __unix. Should s/__unix/_UNIX/g in libfpx-1.2.0.9?)

Hmmm, I will take a look at that.  I have done some work to try to
make libfpx "appear" portable, but since it wasn't written portably
from the start (and uses legacy C++ rather than modern C++) there are
still hidden portability problems which require a dedicated maintainer
to resolve.

Bob
======================================
Bob Friesenhahn
[email protected]
http://www.simplesystems.org/users/bfriesen



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click