Link error for MsQuic+OpenSSL static build #2142
-
We come across a link error when we want to integrate MsQuic static library with our code, on Win10 21H1 with VS2019 The But when we're trying to it with our code, it says: I thought it should not be a problem because we make that lib as Could you please help to figure out the problem? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
It's interesting that you're seeing an error here. Our CI builds this configuration every time and it doesn't seem to be having any issues (latest run here). I'm wondering if there is some local SDK difference or something that causes the error. cc @thhous-msft ideas? |
Beta Was this translation helpful? Give feedback.
-
Ah, it looks like that line is wrong, its only removing libcmt on debug builds. I'll fix. Our CI doesn't run into this because we build tools with the static CRT anyway so it doesnt notice. |
Beta Was this translation helpful? Give feedback.
Ah, it looks like that line is wrong, its only removing libcmt on debug builds. I'll fix. Our CI doesn't run into this because we build tools with the static CRT anyway so it doesnt notice.