From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Steinar Bang Newsgroups: gmane.emacs.help Subject: Re: How do I make windows emacs display PNG and JPEG images? Date: Tue, 30 Dec 2014 08:47:37 +0100 Message-ID: <86tx0defza.fsf@dod.no> References: <86vbkugabs.fsf@dod.no> <83mw66jvms.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1419925690 30341 80.91.229.3 (30 Dec 2014 07:48:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 30 Dec 2014 07:48:10 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 30 08:48:03 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Y5rX8-0003Sv-QA for geh-help-gnu-emacs@m.gmane.org; Tue, 30 Dec 2014 08:48:03 +0100 Original-Received: from localhost ([::1]:35981 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y5rX7-0001QK-K6 for geh-help-gnu-emacs@m.gmane.org; Tue, 30 Dec 2014 02:48:01 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33677) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y5rWv-0001QF-Kw for help-gnu-emacs@gnu.org; Tue, 30 Dec 2014 02:47:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y5rWs-0002S1-E1 for help-gnu-emacs@gnu.org; Tue, 30 Dec 2014 02:47:49 -0500 Original-Received: from rainey.bang.priv.no ([212.110.185.190]:57386) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y5rWs-0002Rt-7w for help-gnu-emacs@gnu.org; Tue, 30 Dec 2014 02:47:46 -0500 In-Reply-To: <83mw66jvms.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 29 Dec 2014 17:58:19 +0200") User-Agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3 (windows-nt) X-SA-Exim-Connect-IP: 84.208.248.210 X-SA-Exim-Rcpt-To: too long (recipient list exceeded maximum allowed size of 8 bytes) X-SA-Exim-Mail-From: sb@dod.no X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:57:07 +0000) X-SA-Exim-Scanned: Yes (on rainey.bang.priv.no) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.110.185.190 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:101766 Archived-At: >>>>> Eli Zaretskii : > 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. 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? > Also, the date of zlib1.dll looks old. Ok, hm... sorry, the date is actually 2013-09-20, the 2008-07-13 date was for zip.exe (I looked at the wrong file in dired). > But I don't think these are the reasons for your problems. Ok. > 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. Sysinternals sigcheck couldn't find any version number in the DLLs (see below) > (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 Here are the sysinternals sigcheck results for the libpng and libjpeg DLLs: c:\ProgramFiles\emacs-24.3\bin>sigcheck -q -a libpng16-16.dll c:\ProgramFiles\emacs-24.3\bin\libpng16-16.dll: Verified: Unsigned Link date: 10:40 21.06.2014 Publisher: n/a Description: n/a Product: n/a Prod version: n/a File version: n/a MachineType: 32-bit Binary Version: n/a Original Name: n/a Internal Name: n/a Copyright: n/a Comments: n/a Entropy: 6.584 c:\ProgramFiles\emacs-24.3\bin>sigcheck -q -a libjpeg-9.dll c:\ProgramFiles\emacs-24.3\bin\libjpeg-9.dll: Verified: Unsigned Link date: 11:28 21.06.2014 Publisher: n/a Description: n/a Product: n/a Prod version: n/a File version: n/a MachineType: 32-bit Binary Version: n/a Original Name: n/a Internal Name: n/a Copyright: n/a Comments: n/a Entropy: 6.323