From: Alan Schmitt <alan.schmitt@polytechnique.org>
To: Samuel Hornus <samuel.hornus@inria.fr>
Cc: O Caml <caml-list@inria.fr>
Subject: Re: [Caml-list] camlimages problems on mac
Date: Wed, 07 Nov 2012 15:30:52 +0100 [thread overview]
Message-ID: <m2txt11o4j.fsf@top.irisa.fr> (raw)
In-Reply-To: <317FD50D-3890-400B-BB10-7B1B5069366E@inria.fr> (Samuel Hornus's message of "Wed, 7 Nov 2012 15:04:51 +0100")
Samuel Hornus <samuel.hornus@inria.fr> writes:
> On Nov7, 2012, at 14:20 , Alan Schmitt wrote:
>
>> Samuel Hornus <samuel.hornus@inria.fr> writes:
>>
>>> Hello,
>>>
>>> When installing camlimages 4.0.1 with MacPort (Mac OS X 10.7.5, Latest MacPorts),
>>> the resulting camlimages has no support for JPEG, PNG, PPM, XPM, etc…
>>> which makes it sort of useless.
>> I just tried to configure it using godi, and this is what is supported
>> on my system:
>>
>> External libraries: lablgtk2 bmp ppm png jpeg tiff freetype(2) ps
>>
>> Most of my image libraries are installed through homebrew (I see for
>> instance "jpeg" or "libpng", I don't know where the ppm support comes
>> from).
>>
>> To get support for gifs, I installed giflib (still through homebrew).
>>
>> After doing this, camlimages seems to compile fine.
>
> The compilation goes without a hitch here as well (both using omake or
> macports), but the support for most of the image file formats are
> automatically disabled after examining the third-party' header files,
> so you get an OCaml exception at runtime. There is a piece of code
> (from camlimages) that dumps what is actually supported (see below).
> Does your camlimages actually has support for jpeg or png ?
Yes:
*******************************************************
Camlimages library capabilities currently available
bmp : supported
ppm : supported
gif : supported
jpeg : supported
tiff : supported
png : supported
xpm : not supported
xv thumbnails : supported
postscript : supported
freetype : supported
*******************************************************
Alan
next prev parent reply other threads:[~2012-11-07 14:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-07 12:52 Samuel Hornus
2012-11-07 13:20 ` Alan Schmitt
2012-11-07 14:04 ` Samuel Hornus
2012-11-07 14:22 ` AW: " Gerd Stolpmann
2012-11-07 14:30 ` Alan Schmitt [this message]
2012-11-07 14:43 ` Pierre-Etienne Meunier
2012-11-13 11:28 ` Samuel Hornus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2txt11o4j.fsf@top.irisa.fr \
--to=alan.schmitt@polytechnique.org \
--cc=caml-list@inria.fr \
--cc=samuel.hornus@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).