Boost install issues on Win64 w/VS2022
- Dominant language
- C++
- Stars
- 620
- Forks
- 57
- PR merge metrics
- No merged PRs in 30d
Description
Running into a problem with following the instructions here (https://github.com/Autodesk/Aurora/blob/main/Doc/Build.md). specifically when boost is installed while executing installExternals.py:
python Scripts/installExternals.py -v --build-variant Debug AURORA_EXTERNALS
I have Visual Studio 2022 Professional installed with MSVC v143 - VS 2022 C++ x64/x86 build tools installed. Running on Windows 11.
Script runs for several minutes and then exits with the following:
ERROR: Failed to run 'b2 --build-dir="c:\Users\mhfeldma\repos\Aurora\AURORA_EXTERNALS\build" -j16 address-model=64 link=shared runtime-link=shared threading=multi --with-atomic --with-program_options --with-regex --with-python --user-config=python-config.jam --with-date_time --with-chrono --with-system --with-thread --with-filesystem toolset=msvc-14.3 --prefix="c:\Users\mhfeldma\repos\Aurora\AURORA_EXTERNALS\boost" variant=release install'
See c:\Users\mhfeldma\repos\Aurora\AURORA_EXTERNALS\src\boost_1_85_0\log.txt for more details.
Seeing a lot of skipped messages in the log file (apparently due to the lack of any files in: build\boost\bin.v2\standalone\msvc\msvc-14.3
log.txt contains
2025-07-16 08:35
bootstrap.bat vc143
Building Boost.Build engine
Found with vswhere C:\Program Files\Microsoft Visual Studio\2022\Professional
###
### Using 'vc143' toolset.
###
c:\Users\mhfeldma\repos\Aurora\AURORA_EXTERNALS\src\boost_1_85_0\tools\build\src\engine>"cl" /nologo -TP /wd4996 /wd4675 /EHs /GR /Zc:throwingNew /O2 /Ob2 /W3 /MD /Zc:forScope /Zc:wchar_t /Zc:inline /Gw /favor:blend /Feb2 -DNDEBUG bindjam.cpp builtins.cpp class.cpp command.cpp compile.cpp constants.cpp cwd.cpp debug.cpp debugger.cpp execcmd.cpp execnt.cpp execunix.cpp filent.cpp filesys.cpp fileunix.cpp frames.cpp function.cpp glob.cpp hash.cpp hcache.cpp hdrmacro.cpp headers.cpp jam.cpp jamgram.cpp lists.cpp make.cpp make1.cpp md5.cpp mem.cpp modules.cpp native.cpp option.cpp output.cpp parse.cpp pathnt.cpp pathsys.cpp pathunix.cpp regexp.cpp rules.cpp scan.cpp search.cpp jam_strings.cpp startup.cpp tasks.cpp timestamp.cpp value.cpp variable.cpp w32_getreg.cpp mod_jam_builtin.cpp mod_jam_class.cpp mod_jam_errors.cpp mod_jam_modules.cpp mod_order.cpp mod_path.cpp mod_property_set.cpp mod_regex.cpp mod_sequence.cpp mod_set.cpp mod_string.cpp mod_summary.cpp mod_sysinfo.cpp mod_version.cpp /link kernel32.lib advapi32.lib user32.lib /MANIFEST:EMBED /MANIFESTINPUT:b2.exe.manifest
........
Generating Code...
c:\Users\mhfeldma\repos\Aurora\AURORA_EXTERNALS\src\boost_1_85_0\tools\build\src\engine>dir *.exe
Volume in drive C is MHFELDMA-ALIEN
Volume Serial Number is 1E5A-B13A
Directory of c:\Users\mhfeldma\repos\Aurora\AURORA_EXTERNALS\src\boost_1_85_0\tools\build\src\engine
07/16/2025 08:36 AM 519,168 b2.exe
1 File(s) 519,168 bytes
0 Dir(s) 924,753,088,512 bytes free
Generating Boost.Build configuration in project-config.jam for msvc : 14.3...
Bootstrapping is done. To build, run:
.\b2
To adjust configuration, edit 'project-config.jam'.
Further information:
- Command line help:
.\b2 --help
- Getting started guide:
http://boost.org/more/getting_started/windows.html
- Boost.Build documentation:
http://www.boost.org/build/
2025-07-16 08:36
b2 --build-dir="c:\Users\mhfeldma\repos\Aurora\AURORA_EXTERNALS\build" -j16 address-model=64 link=shared runtime-link=shared threading=multi --with-atomic --with-program_options --with-regex --with-python --user-config=python-config.jam --with-date_time --with-chrono --with-system --with-thread --with-filesystem toolset=msvc-14.3 --prefix="c:\Users\mhfeldma\repos\Aurora\AURORA_EXTERNALS\boost" variant=release install
Performing configuration checks
- default address-model : none [1]
- default architecture : none [1]
- x86 : no [2]
- arm : no [2]
- mips1 : no [2]
- power : no [2]
- sparc : no [2]
- cxx11_static_assert : no [2]
- x86 : no [3]
- arm : no [3]
- mips1 : no [3]
- power : no [3]
- sparc : no [3]
- cxx11_static_assert : no [3]
- has_icu builds : no [2]
- cxx11_hdr_ratio : no [2]
- cxx11_hdr_ratio : no [3]
- has std::atomic_ref : no [2]
- has -Wl,--no-undefined : no [2]
- has -Wl,-undefined,error : no [2]
- has statx : no [2]
- has statx syscall : no [2]
- has BCrypt API : no [2]
- is Windows CE : no [2]
- has init_priority attribute : no [2]
- has stat::st_blksize : no [2]
- has stat::st_mtim : no [2]
- has stat::st_mtimensec : no [2]
- has stat::st_mtimespec : no [2]
- has stat::st_birthtim : no [2]
- has stat::st_birthtimensec : no [2]
- has stat::st_birthtimespec : no [2]
- has fdopendir(O_NOFOLLOW) : no [2]
- has dirent::d_type : no [2]
- has POSIX *at APIs : no [2]
- has fallocate : no [2]
- cxx11_rvalue_references : no [2]
- has std::atomic_ref : no [3]
- has -Wl,--no-undefined : no [3]
- has -Wl,-undefined,error : no [3]
- has statx : no [3]
- has statx syscall : no [3]
- has BCrypt API : no [3]
- is Windows CE : no [3]
- cxx11_rvalue_references : no [3]
[1] msvc-14.3
[2] msvc-14.3/release/address-model-64/python-3.9/threadapi-win32/threading-multi/visibility-hidden
[3] msvc-14.3/release/address-model-64/build-no/python-3.9/threadapi-win32/threading-multi/visibility-hidden
Component configuration:
- atomic : building
- charconv : not building
- chrono : building
- cobalt : not building
- container : not building
- context : not building
- contract : not building
- coroutine : not building
- date_time : building
- exception : not building
- fiber : not building
- filesystem : building
- graph : not building
- graph_parallel : not building
- headers : not building
- iostreams : not building
- json : not building
- locale : not building
- log : not building
- math : not building
- mpi : not building
- nowide : not building
- program_options : building
- python : building
- random : not building
- regex : building
- serialization : not building
- stacktrace : not building
- system : building
- test : not building
- thread : building
- timer : not building
- type_erasure : not building
- url : not building
- wave : not building
...patience...
...patience...
...found 36804 targets...
...updating 17246 targets...
...skipped posix_api.obj for lack of msvc-setup.nup...
..numerous other skipped messages are shown. Other than that no other warnings or errors
Contributor guide
Research direction
Start with Doc/Build.md and Scripts/installExternals.py, then inspect AURORA_EXTERNALS/src/boost_1_85_0/log.txt and the skipped targets under AURORA_EXTERNALS/build/boost/bin.v2. Reproduce the Win64/VS2022 command and determine why the Boost build stops without another reported error. Done means the documented external-install command completes successfully, or the failure is reported with a clear fix or diagnostic.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100