emacs-devel
[Top][All Lists]
Advanced

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

Re: image display in MinGW build?


From: Juanma Barranquero
Subject: Re: image display in MinGW build?
Date: Mon, 8 May 2006 12:38:42 +0200

On 5/8/06, David Abrahams <address@hidden> wrote:

But I must've done something wrong
because I just tried again... and it worked!  Happy, happy, joy, joy.


Glad it is working; anyway, to help debugging if this happens again to
you, you can use the `image-types' variable (which lists the image
types known, i.e., their support was compiled in), and the
`image-type-available-p' function (which indicates whether the image
type is actually available to Emacs).

In a fully configured MinGW build, `image-types' contains '(png gif
tiff jpeg xpm xbm pbm). If any of them is missing, there was some
problem locating the library headers at compile time (assuming they
were not explicitly left out with configure.bat, of course).

If an image type does appear in `image-types', but
(image-type-available-p type) returns nil, Emacs was unable to locate
the library .DLL.

Note, however, that the result of `image-type-available-p' is cached
internally, so if one library is missing and you add it to the path
*after* using `image-type-available-p' to try to load this particular
image type, it will still return nil until you restart Emacs.

Hope this helps,

--
                   /L/e/k/t/u




reply via email to

[Prev in Thread] Current Thread [Next in Thread]