Re: ICU not found while building Boost

René Ferdinand Rivera Morell via Boost-users <[email protected]> Fri, 10 Jan 2025 20:23:10 -0600
Newsgroups gmane.comp.lib.boost.user
Message-ID <CAHEh_Gia-HJrPQfHUrH4d0_7iMQ64Pc3Y+HWatPjk-FGadbi7g@mail.gmail.com>
On Fri, Jan 10, 2025 at 4:12 PM Cory Riddell via Boost-users <
[email protected]> wrote:

> I'm having trouble building Boost 1.87 on Windows using the latest VS2022.
>
>
>
> I'm starting from the "x64 Native Tools Command Prompt for VS 2022".
>
>
>
> I've downloaded the latest ICU binaries and updated my PATH, LIB, and
> INCLUDE environment variables:
>
> set PATH=%PATH%;D:\icu\bin64
>
> set LIB=%LIB%;D:\icu\lib64
>
> set INCLUDE=%INCLUDE%;D:\icu\include
>

B2 doesn't generally use those environment variables as they cause problems
in multi-configuration building that is designed with. And generally they
are problematic for reproducing builds. Instead you need to tell B2 where
the ICU library is located. Boost.Locale has instructions on that here <
https://www.boost.org/doc/libs/1_87_0/libs/locale/doc/html/building_boost_locale.html#bb_build_opts
>.

-- 
-- René Ferdinand Rivera Morell
-- Don't Assume Anything  -- No Supongas Nada
-- Robot Dreams - http://robot-dreams.net

_______________________________________________
Boost-users mailing list
[email protected]
https://lists.boost.org/mailman/listinfo.cgi/boost-users