Boost C++ Libraries: Ticket #3425: ICU_LINK doesn't work https://svn.boost.org/trac10/ticket/3425 <p> I'm trying to compile Boost.Regex with ICU 3.4 and MSVC 7.1. The ICU library in my case has a nonstandard directory layout like this: </p> <pre class="wiki"> icu | |-&gt;include | | | |-&gt;layout | |-&gt;unicode | |-&gt;win32 | |-&gt;lib </pre><p> So the library binaries are in icu/win32/lib instead of the standard icu/lib. I tried to use ICU_LINK environment variable, like bjam suggests (note, I use Cygwin to build the library): </p> <pre class="wiki">export HAVE_ICU=1 export ICU_PATH="$PATH_TO_ICU/icu" export ICU_LINK="/LIBPATH:$PATH_TO_ICU/icu/win32/lib icuuc.lib icuin.lib icudt.lib" </pre><p> However, it seems this variable has no effect, the parameters in ICU_LINK are not seen in the linker command line. </p> <p> What I eventually came up with was to explicitly specify $ICU_LINK in linkflags for bjam when building Boost.Regex. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3425 Trac 1.4.3 Andrey Semashev Thu, 17 Sep 2009 14:41:11 GMT attachment set https://svn.boost.org/trac10/ticket/3425 https://svn.boost.org/trac10/ticket/3425 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">Jamfile.v2.patch</span> </li> </ul> <p> The patch fixes the Jamfile so that it passes ICU_LINK flags to the linker </p> Ticket John Maddock Fri, 30 Oct 2009 18:15:57 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/3425#comment:1 https://svn.boost.org/trac10/ticket/3425#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/57252" title="Fixes #3425.">[57252]</a>) Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3425" title="#3425: Bugs: ICU_LINK doesn't work (closed: fixed)">#3425</a>. </p> Ticket