Compilation error when compiling webrtc-sys (from zed-industries/livekit-rust-sdks clone) #23697
gim913
started this conversation in
Show and tell
Replies: 1 comment 1 reply
-
In my case, it was network issue. Try VPN. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This isn't really a bug report, but maybe it'll save someone else's time.
When trying to compile zed on windows I had a problem with
webrtc-sys
, the error reported looked something like this:Building instructions mention explicitly:
The SDK was installed via VS 2019 installer and at the time of reporting this issue, it is latest SDK that VS 2019 installer provides.
As you can see sdk version seems to be higher then the one mentioned in the docs.
The cause of this issue is that:
webrtc.ninja
contains-DNTDDI_VERSION=NTDDI_WIN10_NI
in definessdkddver.h
in sdk 10.0.22000.0 contains are:minwinbase.h
, there's condition aroundFILE_INFO_BY_HANDLE_CLASS
enum:#if (NTDDI_VERSION >= NTDDI_LONGHORN)
- because there's no value forNTDDI_WIN10_NI
, this condition is not fulfilled and compilation fails.Somebody else figured similar issue here: microsoft/Windows-classic-samples#317 (comment)
So the way I fixed this, is by going straight to SDK page (which is already linked in the docs) and installed SDK from there, that SDK is
10.0.26100.0
and webrtc-sys and zed itself compiled fine.Zed Version and System Specs
main branch, commit ID 5d005a7
Beta Was this translation helpful? Give feedback.
All reactions