all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: How do I make windows emacs display PNG and JPEG images?
Date: Tue, 30 Dec 2014 17:52:53 +0200	[thread overview]
Message-ID: <83ppb1b0dm.fsf@gnu.org> (raw)
In-Reply-To: <86tx0defza.fsf@dod.no>

> From: Steinar Bang <sb@dod.no>
> Date: Tue, 30 Dec 2014 08:47:37 +0100
> 
> >>>>> Eli Zaretskii <eliz@gnu.org>:
> 
> > You should put _all_ the files in bin/ that you find in the *.zip
> > files, not just select DLLs.
> 
> Ok.  I added the config files of libpng as well, but it didn't make any
> difference.

I didn't think it will.

> Why do the .exe files need to be copied. Are the .exe files loaded and
> code in them executed? Or is the DLLs' location used to find the .exe
> files to execute in a separate process?

Neither.  And in this case, the non-DLL files in bin/ are not needed.

But in general, you are advised to unzip the entire *-bin.zip archive
and keep all of it, because some packages come with data files and
additional bits and pieces that are needed for flawless operation.

The *-bin.zip files include everything that "make install" installs,
so if you omit some files, you in effect have an incomplete
installation.  If you are familiar with the package internals and know
what you are doing, feel free to remove what you think is
unnecessary.  Otherwise, my recommendation is to keep all of it.  It
is safer.

> > What are the versions of the libraries against which the Emacs binary
> > was built?  Look at the values of the variables libpng-version and
> > libjpeg-version: do they match the versions of the DLLs you installed?
> 
> libpng-version's value is 10403
> No match for libjpeg-version.

Right, that's the problem.  You need libpng14-14.dll or libpng14.dll
for PNG, and jpeg62.dll for JPEG.  See w32-win.el for the full list.

> Sysinternals sigcheck couldn't find any version number in the DLLs (see below)

It's not recorded there, it's recorded in the name of the DLL.

> > (There's some explanation of this near line 200 of w32-win.el.)
> 
> No w32-win.el in the lisp directory.
> 
> locate-library says:
>  No library w32-win in search path
>  No library w32-win.el in search path

It's in lisp/term/, where all the *-win.el files are kept.  Or maybe
you have a compressed w32-win.el.gz there.



  reply	other threads:[~2014-12-30 15:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-29  7:54 How do I make windows emacs display PNG and JPEG images? Steinar Bang
2014-12-29 15:58 ` Eli Zaretskii
2014-12-30  7:47   ` Steinar Bang
2014-12-30 15:52     ` Eli Zaretskii [this message]
2014-12-31 11:20       ` Steinar Bang
2014-12-31 16:27         ` Eli Zaretskii

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=83ppb1b0dm.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.