id summary reporter owner description type status milestone component version severity resolution keywords cc 8770 has_icu_test depending on DEBUG ICU libraries Martin Baute Artyom Beilis "I am pretty sure this has been brought to attention before, as I distinctly remember reading a discussion on the issue, but I couldn't find it in the database. Platform is Windows XP, MS Visual Studio 8. Having unpacked the latest ICU release to support MSVC 8 (which is ICU 4.0.1), I am trying to compile Boost 1.54.0 with ICU support enabled. Using the [http://www.boost.org/doc/libs/1_54_0/libs/regex/doc/html/boost_regex/install.html#boost_regex.install.building_with_unicode_and_icu_support instructions], I call: bjam -sICU_PATH=C:\contrib\icu-4.0.1 I get: ... - has_icu builds : no In bin.v2\config.log: msvc.link bin.v2\libs\regex\build\msvc-8.0\debug\has_icu.exe LINK : fatal error LNK1181: cannot open input file 'icuind.lib' call ""C:\Programme\microsoft visual studio 8\vc\vcvarsall.bat"" x86 >nul link /NOLOGO /INCREMENTAL:NO /DEBUG /MACHINE:X86 /MANIFEST /subsystem:console if %ERRORLEVEL% NEQ 0 EXIT %ERRORLEVEL% ...failed msvc.link bin.v2\libs\regex\build\msvc-8.0\debug\has_icu.exe bin.v2\libs\regex\build\msvc-8.0\debug\has_icu.pdb... In bin.v2\libs\regex\build\msvc-8.0\debug: ""bin.v2\libs\regex\build\msvc-8.0\debug\has_icu_test.obj"" ""icudt.lib"" ""icuind.lib"" ""icuucd.lib"" This happens even if I state `variant=release` on the `bjam` line. I.e., to determine whether ICU is present ''for a release build'', Boost is looking for ''debug'' versions of the ICU libraries. This renders the default instructions of how to build Boost with ICU support non-functional with the default distribution of ICU for Windows, effectively forcing people to manually compile ICU instead of using the ready-made binaries, to satisfy peculiarities of the Boost build system. (Unless there are some command-line switches I am not aware of, which should then be made part of the respective documentation of the build process.) Thumbs down, that's not the way to go." Bugs closed To Be Determined locale Boost 1.54.0 Problem invalid ICU