Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2022-06-05 09:58:08


Dennis Luehring wrote:
> Am 04.06.2022 um 12:57 schrieb Peter Dimov via Boost:
> > We should fix this in Boost.Test. In the meantime, you can disable
> > autolinking by defining BOOST_ALL_NO_LIB, which can be done e.g. by
> > changing
> >
> >> target_link_libraries(example Boost::unit_test_framework)
> > to
> >
> > target_link_libraries(example Boost::unit_test_framework
> > Boost::disable_autolinking)
>
> thanks - that tips fixes it for my small example and my big project
>
>
> any idea how to build boost with clang-cl, or is that just not supported?

Not without more information about the errors you are getting.

I just tried a build on the master branch with `b2 toolset=clang`. I'm using
the Clang from my VS2022 installation, and have the following in my
user-config.jam:

using clang-win : :
  "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\Llvm\\x64\\bin\\clang-cl.exe" :
  <manifest-tool>"\"C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.19041.0\\x64\\mt.exe\"" ;

Configuring the manifest tool can be avoided by using
`embed-manifest-via=linker` on the command line.

Everything seems to build fine for me with the exception of "graph_parallel",
which gives a bunch of compile and link errors. I doubt you have that
enabled though, as it requires MPI.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk