On Fri, Jan 10, 2025 at 4:12 PM Cory Riddell via Boost-users <boost-users@lists.boost.org> 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