We are in the process of moving from VS 2003 to VS 2005 and moving from ICU 3.0 to 4.2
In VS 2003 and ICU 3.0 the creation of a resource DLL using pkgdata worked fine. With the move to VS 2005 and ICU 4.2 it does not.
I even tried the ufortune example without success.
I also noticed in the 4.2 version of pkgdata it does not output the .mak file it generates.
This is what I get when running $(ICU)\source\samples\ufortune\resources\fortune_resources.mak
D:\icu_src\icu\source\samples\ufortune\resources>nmake -f fortune_resources
Microsoft (R) Program Maintenance Utility Version 8.00.50727.762
Copyright (C) Microsoft Corporation. All rights reserved.
d:\icu\bin\pkgdata --name fortune_resources -v --mode dll -d . res-list.txt
# Reading res-file-list.txt..
genccode: --match-arch cpu=332 bits=32 big-endian=0
LINK : fatal error LNK1181: cannot open input file '.obj'
NMAKE : fatal error U1077: 'd:\icu\bin\pkgdata.EXE' : return code '0x49d'
Stop.
This same sample with VS 2003 and ICU 3.2 works fine.
the contents of the directory after executing nmake -f fortune_resources is:
D:\icu_src\icu\source\samples\ufortune\resources>dir
Volume in drive D is New Volume
Volume Serial Number is 6C0B-324E
Directory of D:\icu_src\icu\source\samples\ufortune\resources
08/19/2009 04:18 PM .
08/19/2009 04:18 PM ..
08/19/2009 04:06 PM 31,624 es.res
07/01/2009 11:50 AM 16,883 es.txt
08/19/2009 04:18 PM 45,120 fortune_resources.dat
08/19/2009 04:06 PM 1,409 fortune_resources.mak
08/19/2009 04:18 PM 45,301 fortune_resources_dat.obj
07/01/2009 11:50 AM 1,883 Makefile
07/01/2009 11:50 AM 18 res-file-list.txt
08/19/2009 04:06 PM 13,364 root.res
07/01/2009 11:50 AM 7,540 root.txt
9 File(s) 163,142 bytes
2 Dir(s) 128,876,777,472 bytes free
It makes me think the link line created by pkgdata is not correct (i.e. has a , or ; instead of a space between components).
Any ideas?
Thanks!
Steve