b2 icon indicating copy to clipboard operation
b2 copied to clipboard

How to build clangw .lib

Open HighVorz opened this issue 1 year ago • 2 comments

I'm build boost with clang, and generate things like this 'libboost_filesystem-clang17-s-x64-1_84.lib', but when I compile .cpp, there is a link error.

LINK : fatal error LNK1104: cannot open file 'libboost_filesystem-clangw17-s-x64-1_84.lib'

It requires clangw rather than clang, how to generate that?

image

image

HighVorz avatar Jan 23 '24 07:01 HighVorz

I'm not entirely sure, since I didn't write this part of B2, but I think you need to invoke as b2 toolset=clang-win ... when building.

grafikrobot avatar Jan 25 '24 13:01 grafikrobot

I'm not entirely sure, since I didn't write this part of B2, but I think you need to invoke as b2 toolset=clang-win ... when building.

yes,it works

HighVorz avatar Jan 25 '24 15:01 HighVorz