* build failure on M$ using MSVC: nt/icons/emacs.ico
@ 2008-05-22 9:15 dhruva
2008-05-22 9:40 ` Jason Rumney
0 siblings, 1 reply; 3+ messages in thread
From: dhruva @ 2008-05-22 9:15 UTC (permalink / raw)
To: Emacs Devel
Hi,
The current build on M$ using MSVC fails due to something in the new
emacs.ico file. The MSVC resource compiler is not able to handle the
file (old DIB and pass it through SDKPAINT..). I could not make much
of it (was this icon image created on MS Vista?). The same icon works
fine with the GNU windres (mingw).
I used the following command to generate the required file for MSVC
using GNU windres:
cmd> windres -O res -i emacs.rc -o obj-spd/i386/emacs.res
cmd> nmake
The build went fine.
-dhruva
--
Contents reflect my personal views only!
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: build failure on M$ using MSVC: nt/icons/emacs.ico
2008-05-22 9:15 build failure on M$ using MSVC: nt/icons/emacs.ico dhruva
@ 2008-05-22 9:40 ` Jason Rumney
2008-05-24 8:26 ` Eli Zaretskii
0 siblings, 1 reply; 3+ messages in thread
From: Jason Rumney @ 2008-05-22 9:40 UTC (permalink / raw)
To: dhruva; +Cc: Emacs Devel
dhruva wrote:
> Hi,
> The current build on M$ using MSVC fails due to something in the new
> emacs.ico file. The MSVC resource compiler is not able to handle the
> file (old DIB and pass it through SDKPAINT..). I could not make much
> of it (was this icon image created on MS Vista?).
It was not created on Vista, but it does contain a PNG icon which Vista
uses. The problem appears to be that the MS resource compiler checks the
icon before copying it into the resources (while the MingW one just
copies it), so you need an up to date resource compiler from the latest
Windows SDK to use it with modern icons.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: build failure on M$ using MSVC: nt/icons/emacs.ico
2008-05-22 9:40 ` Jason Rumney
@ 2008-05-24 8:26 ` Eli Zaretskii
0 siblings, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2008-05-24 8:26 UTC (permalink / raw)
To: Jason Rumney; +Cc: emacs-devel
> Date: Thu, 22 May 2008 10:40:14 +0100
> From: Jason Rumney <jasonr@gnu.org>
> Cc: Emacs Devel <emacs-devel@gnu.org>
>
> dhruva wrote:
> > Hi,
> > The current build on M$ using MSVC fails due to something in the new
> > emacs.ico file. The MSVC resource compiler is not able to handle the
> > file (old DIB and pass it through SDKPAINT..). I could not make much
> > of it (was this icon image created on MS Vista?).
>
> It was not created on Vista, but it does contain a PNG icon which Vista
> uses. The problem appears to be that the MS resource compiler checks the
> icon before copying it into the resources (while the MingW one just
> copies it), so you need an up to date resource compiler from the latest
> Windows SDK to use it with modern icons.
I think we should:
. add some wizardry to nt/configure.bat that checks the MS resource
compiler version and displays a warning if it is too old;
. modify the nmake parts of the respective Makefiles to not fail the
entire build just because that icon fails to compile.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-05-24 8:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-22 9:15 build failure on M$ using MSVC: nt/icons/emacs.ico dhruva
2008-05-22 9:40 ` Jason Rumney
2008-05-24 8:26 ` Eli Zaretskii
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).