Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to build clangw .lib #359

Open
HighVorz opened this issue Jan 23, 2024 · 2 comments
Open

How to build clangw .lib #359

HighVorz opened this issue Jan 23, 2024 · 2 comments
Labels
question Further information is requested

Comments

@HighVorz
Copy link

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 HighVorz added the bug Something isn't working label Jan 23, 2024
@grafikrobot
Copy link
Member

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 grafikrobot added question Further information is requested and removed bug Something isn't working labels Jan 25, 2024
@HighVorz
Copy link
Author

HighVorz commented Jan 25, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants