how to link msquic in windows #4048
Unanswered
StargazerWayne
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Please take a look at https://github.com/microsoft/quicreach or https://github.com/nibanks/msh3 for good examples. They both submodule MsQuic and build cross-platform. Let me know if you have any other questions after looking at them. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have been using msquic as a submodule to enable quic feature. I simply use cmake cmd
add_subdirectory
andtarget_link_libraries
to use quic lib in linux, they works fine.When it comes to windows, the msvc compiler keeps telling that it can't find some functions and variables in WinSDK. (I am using vscode with powershell)
But I can compiler msquic separately and run the quic sample which indicates WinSDK is installed and is available for cmake and msvc.
I know I may compiler msquic separately and use
find_library
to use the lib, but I just want to keep consistent with what I do on Linux. What should I do with cmake to link msquic in windows, (I know it sounds like a cmake thing, but :/ ) any hint will be appreciated. Thank you!Beta Was this translation helpful? Give feedback.
All reactions