[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mingw-users
Subject:    Re: [Mingw-users] windres problems with -D parameter
From:       Mark <markieb.lists.20090330 () gmail ! com>
Date:       2009-09-28 18:47:32
Message-ID: 4AC104C4.2050801 () gmail ! com
[Download RAW message or body]

Paulo Flabiano Smorigo wrote:
> Hi Everybody,
>
> I have the following windows resource:
>
> 1 VERSIONINFO
> FILEVERSION     1,0,0,0
> PRODUCTVERSION  0,0,0,0
> BEGIN
> 	BLOCK "StringFileInfo"
> 	BEGIN
> 		BLOCK "000004b0"
> 		BEGIN
> 			VALUE "FileDescription", "My App\0"
> 			VALUE "FileVersion",SVN_REV
>
> i586-mingw32msvc-windres: windres.rc:10: syntax error
>   
Hi,

the way I read it, it's SVN_REV that is undefined; that's the way
mingw-windres reports the error;
you need to #include [at the top of windres.rc] the header file
["windres.h" for instance] that contains
#define SVN_REV 77777
[for instance]

Best regards

Mark

http://www.halloit.com

Key ID 046B65CF


------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
MinGW-users mailing list
MinGW-users@lists.sourceforge.net

This list observes the Etiquette found at 
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.

Most annoying abuses are:
1) Top posting
2) Thread hijacking
3) HTML/MIME encoded mail
4) Improper quoting
5) Improper trimming
_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic