ICU4C 4.4.2 build problem with Visual Studio 2010

Description

Deleted Component: config_build

Building ICU4C 4.4.2 with Visual Studio 2010 (Ultimate or Professional) under Windows 7 (x64 or x86) or Windows XP Professional x86 result in an invalid icudt44.dll if both Debug & Release are build to the same output directory (as default).

While building ICU4C from source, a stub icudt44.dll is the first thing built (at 3KB). However that's not finished as the last project add about 14MB of data into the dll. The combination of VS2010 & ICU4C 4.4.2 does not do that last step if and only if one build both the Debug & Release files into the same output directory (which is the default) resulting in a DLL that's missing about 14MB of data.

This problem was not encountered when building previous versions of ICU4C such as 4.4 & 4.4.1 with VS2010. This problem is also not encountered if only one of Debug or Release version are built, or previous output have been moved to a different directory.

Activity

Show:
TracBot
June 30, 2018, 11:34 PM
Trac Comment 1 by —2010-11-17T20:25:01.135Z

Cleaning up the build should work around this, if indeed it is a problem in 4.6

TracBot
June 30, 2018, 11:34 PM
Trac Comment 2 by —2011-01-04T21:35:55.871Z

Please comment on whether doing a clean build between Debug and Release works around the issue. I'll check out whether this is still present on 4.6.x, as we have switched to VS2010 natively.

Also, using a Cygwin build with different output dirs should also resolve the issue.

TracBot
June 30, 2018, 11:34 PM
Trac Comment 3 by ktc@2d8c636e1aec2794—2011-01-05T17:11:02.925Z

Hmm, that works. "Build Solution" (under Debug), and then "Rebuild Solution" (under Release).

TracBot
June 30, 2018, 11:34 PM
Trac Comment 4 by —2011-01-10T21:24:24.875Z

Thanks, so it has a workaround.

Todo: determine whether still present in 4.6.x

TracBot
June 30, 2018, 11:34 PM
Trac Comment 5 by —2011-01-11T01:28:33.862Z

Could not reproduce on 4.7.x - built as Debug and then Release, and a 'full' icudt47.dll was generated.

Assignee

Steven R. Loomis

Reporter

TracBot

Components

None

Labels

None

Reviewer

None

Priority

medium

Time Needed

None

Fix versions

Configure