delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/02/21/11:22:20

X-Spam-Check-By: sourceware.org
Message-ID: <bf0c3b3f0702210821p76caa60ei961e902f281cede5@mail.gmail.com>
Date: Wed, 21 Feb 2007 11:21:47 -0500
From: "Mathieu Malaterre" <mathieu DOT malaterre AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: windres: zlib.rc:4: syntax error
In-Reply-To: <bf0c3b3f0702210813y5213299cw34874648b6406612@mail.gmail.com>
MIME-Version: 1.0
References: <bf0c3b3f0702210813y5213299cw34874648b6406612 AT mail DOT gmail DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Ok using the very latest zlib distribution I was able to compile the rc file:

$ windres -DGCC_WINDRES -i win32/zlib1.rc -o win32/zlib1.res

Simple bad luck...

Sorry for the noise,
-M

On 2/21/07, Mathieu Malaterre <mathieu DOT malaterre AT gmail DOT com> wrote:
> Hello there,
>
>   Has anyone of you any experience in using windres. I simply wanted
> to try it out on a random res file. Here is what I get:
>
> $ windres -i zlib.rc -o zlib.res
> windres: zlib.rc:4: syntax error
>
> Am I missing something here ? I could only find a very old post on that subject:
> http://www.cygwin.com/ml/cygwin/1998-01/msg00600.html
>
> Thanks
> -Mathieu
>
> $ cat zlib.rc
> #include <windows.h>
>
> #define IDR_VERSION1  1
> IDR_VERSION1    VERSIONINFO     MOVEABLE IMPURE LOADONCALL DISCARDABLE
>   FILEVERSION    1,1,3,0
>   PRODUCTVERSION 1,1,3,0
>   FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
>   FILEFLAGS     0
>   FILEOS        VOS_DOS_WINDOWS32
>   FILETYPE      VFT_DLL
>   FILESUBTYPE   0       // not used
> BEGIN
>   BLOCK "StringFileInfo"
>   BEGIN
>     BLOCK "040904E4"
>     //language ID = U.S. English, char set = Windows, Multilingual
>
>     BEGIN
>       VALUE "FileDescription", "zlib data compression library\0"
>       VALUE "FileVersion",      "1.1.3\0"
>       VALUE "InternalName",     "zlib\0"
>       VALUE "OriginalFilename", "zlib.dll\0"
>       VALUE "ProductName",      "ZLib.DLL\0"
>       VALUE "Comments","DLL support by Alessandro Iacopetti & Gilles Vollant\0"
>       VALUE "LegalCopyright", "(C) 1995-1998 Jean-loup Gailly & Mark Adler\0"
>     END
>   END
>   BLOCK "VarFileInfo"
>   BEGIN
>     VALUE "Translation", 0x0409, 1252
>   END
> END
>


-- 
Mathieu

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019