I just did a clean install of 1.0.1 and came across some fatal compilation
errors using Visual Studio.NET 2003.  Specifically, I did the following:

1) Downloaded the three files:
- apr-1.0.1.tar.gz
- apr-iconv-1.0.1.tar.gz
- apr-util-1.0.1.tar.gz

2) Unzipped all three into a folder named "apr-1.0.1/"

3) Renamed the default folder names created by WinZip:
- apr-1.0.1 => apr
- apr-iconv-1.0.1 => apr-iconv
- apr-util-1.0.1 => apr-util

4) Double-clicked on "apr-1.0.1/apr-util/aprutil.dsw"

5) Accepted "Yes to All" on the automatic project conversions

6) Clicked "Build Solution"

This brought up three identical sets of errors (one for each static library,
apparently).  The set of errors for "libapr" is:

.\libapr.rc(3) : error RC2127 : version WORDs separated by commas expected
.\libapr.rc(3) : error RC2167 : unrecognized VERSIONINFO field;  BEGIN or
comma expected

A look at the offending code shows:

 FILEVERSION 1,0,1,
 PRODUCTVERSION 1,0,1,
 
To fix this, just append a zero on as follows:

 FILEVERSION 1,0,1,0
 PRODUCTVERSION 1,0,1,0
 
Recompile and you should be good.

Has anyone else seen this?  Has it been fixed?

-david

Reply via email to