Subject: [Boost-bugs] [Boost C++ Libraries] #8770: has_icu_test depending on DEBUG ICU libraries
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-07-03 08:40:42
#8770: has_icu_test depending on DEBUG ICU libraries
------------------------------------+------------------------------
Reporter: Martin Baute <solar@â¦> | Type: Bugs
Status: new | Milestone: To Be Determined
Component: Building Boost | Version: Boost 1.54.0
Severity: Problem | Keywords: ICU
------------------------------------+------------------------------
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.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/8770> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:13 UTC