-
Notifications
You must be signed in to change notification settings - Fork 69
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
unresolved external symbol BCrypt*** with ninja and clang-cl #78
Comments
Yes, see #68 (comment). I don't know if clang-cl supports auto-linking, but if it does consider creating a pull request for https://github.com/boostorg/config/blob/develop/include/boost/config/auto_link.hpp. |
Some information I found:
I would also like to see an additional CI build job added that forces b2 to use clang-cl and link dynamically in order to prove this fix. This is something I could roll into all of the CMT repos eventually, since the appveyor.yml is repository-specific there is no easy way to update them all, but we could start here. |
I was able to reproduce this in a CI build job. https://ci.appveyor.com/project/jeking3/uuid/builds/24529878/job/sgb58e1rq28pbhmu |
Hi,
today I have prepared upgarde boost to 1.68 and I can't compile my project. I have prepared test program to reproduce issue:
CMakeLists.txt:
main.cpp
When it is compile with msvc it works, however when I change compiler to clang-cl the bcrypt library is not automaticly linked.
Msvc compilation:
Clang compilation:
Did I need some additional flag to have auto link worked?
The text was updated successfully, but these errors were encountered: