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

Windows build faild #230

Closed
fuyoo opened this issue Nov 3, 2023 · 2 comments
Closed

Windows build faild #230

fuyoo opened this issue Nov 3, 2023 · 2 comments

Comments

@fuyoo
Copy link

fuyoo commented Nov 3, 2023

some error info

cargo:warning=ToolExecError: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.35.32215\\bin\\HostX64\\x64\\cl.exe" "-nologo" "-MT" "-Z7" "-Brepro" "-I" "C:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\webrtc-sys-de8572f667a4a4b2\\out\\cxxbridge\\include" "-I" "C:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\webrtc-sys-de8572f667a4a4b2\\out\\cxxbridge\\crate" "-I" "./include" "-I" "C:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\scratch-e9a99c9884e8e24e\\out\\livekit_webrtc\\livekit/webrtc-win-x64-release-webrtc-0649214/webrtc-win-x64-release\\include" "-I" "C:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\scratch-e9a99c9884e8e24e\\out\\livekit_webrtc\\livekit/webrtc-win-x64-release-webrtc-0649214/webrtc-win-x64-release\\include\\third_party/abseil-cpp/" "-I" "C:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\scratch-e9a99c9884e8e24e\\out\\livekit_webrtc\\livekit/webrtc-win-x64-release-webrtc-0649214/webrtc-win-x64-release\\include\\third_party/libyuv/include/" "-I" "C:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\scratch-e9a99c9884e8e24e\\out\\livekit_webrtc\\livekit/webrtc-win-x64-release-webrtc-0649214/webrtc-win-x64-release\\include\\third_party/libc++/" "-I" "C:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\scratch-e9a99c9884e8e24e\\out\\livekit_webrtc\\livekit/webrtc-win-x64-release-webrtc-0649214/webrtc-win-x64-release\\include\\sdk/objc" "-I" "C:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\scratch-e9a99c9884e8e24e\\out\\livekit_webrtc\\livekit/webrtc-win-x64-release-webrtc-0649214/webrtc-win-x64-release\\include\\sdk/objc/base" "/std:c++20" "/EHsc" "-DUSE_AURA=1" "-D_HAS_NODISCARD" "-D_CRT_NONSTDC_NO_WARNINGS" "-D_WINSOCK_DEPRECATED_NO_WARNINGS" "-D_SILENCE_ALL_CXX17_DEPRECATION_WARNINGS" "-D_SILENCE_ALL_CXX20_DEPRECATION_WARNINGS" "-D_HAS_EXCEPTIONS=0" "-D__STD_C" "-D_CRT_RAND_S" "-D_CRT_SECURE_NO_DEPRECATE" "-D_SCL_SECURE_NO_DEPRECATE" "-D_ATL_NO_OPENGL" "-D_WINDOWS" "-DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS" "-DPSAPI_VERSION=2" "-DWIN32" "-D_SECURE_ATL" "-DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP" "-DWIN32_LEAN_AND_MEAN" "-DNOMINMAX" "-D_UNICODE" "-DUNICODE" "-DNTDDI_VERSION=NTDDI_WIN10_NI" "-D_WIN32_WINNT=0x0A00" "-DWINVER=0x0A00" "-DNDEBUG" "-DNVALGRIND" "-DDYNAMIC_ANNOTATIONS_ENABLED=0" "-DWEBRTC_ENABLE_PROTOBUF=0" "-DWEBRTC_STRICT_FIELD_TRIALS=0" "-DWEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE" "-DRTC_ENABLE_VP9" "-DRTC_DAV1D_IN_INTERNAL_DECODER_FACTORY" "-DWEBRTC_HAVE_SCTP" "-DWEBRTC_USE_H264" "-DWEBRTC_LIBRARY_IMPL" "-DWEBRTC_ENABLE_AVX2" "-DRTC_ENABLE_WIN_WGC" "-DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0" "-DWEBRTC_WIN" "-DABSL_ALLOCATOR_NOTHROW=1" "-D_ENABLE_EXTENDED_ALIGNED_STORAGE" "-DLIBYUV_DISABLE_NEON" "-DLIVEKIT_TEST" "-FoC:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\webrtc-sys-de8572f667a4a4b2\\out\\src/video_decoder_factory.o" "-c" "src/video_decoder_factory.cpp" with args "cl.exe" did not execute successfully (status code exit code: 2).running: "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.35.32215\\bin\\HostX64\\x64\\cl.exe" "-nologo" "-MT" "-Z7" "-Brepro" "-I" "C:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\webrtc-sys-de8572f667a4a4b2\\out\\cxxbridge\\include" "-I" "C:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\webrtc-sys-de8572f667a4a4b2\\out\\cxxbridge\\crate" "-I" "./include" "-I" "C:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\scratch-e9a99c9884e8e24e\\out\\livekit_webrtc\\livekit/webrtc-win-x64-release-webrtc-0649214/webrtc-win-x64-release\\include" "-I" "C:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\scratch-e9a99c9884e8e24e\\out\\livekit_webrtc\\livekit/webrtc-win-x64-release-webrtc-0649214/webrtc-win-x64-release\\include\\third_party/abseil-cpp/" "-I" "C:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\scratch-e9a99c9884e8e24e\\out\\livekit_webrtc\\livekit/webrtc-win-x64-release-webrtc-0649214/webrtc-win-x64-release\\include\\third_party/libyuv/include/" "-I" "C:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\scratch-e9a99c9884e8e24e\\out\\livekit_webrtc\\livekit/webrtc-win-x64-release-webrtc-0649214/webrtc-win-x64-release\\include\\third_party/libc++/" "-I" "C:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\scratch-e9a99c9884e8e24e\\out\\livekit_webrtc\\livekit/webrtc-win-x64-release-webrtc-0649214/webrtc-win-x64-release\\include\\sdk/objc" "-I" "C:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\scratch-e9a99c9884e8e24e\\out\\livekit_webrtc\\livekit/webrtc-win-x64-release-webrtc-0649214/webrtc-win-x64-release\\include\\sdk/objc/base" "/std:c++20" "/EHsc" "-DUSE_AURA=1" "-D_HAS_NODISCARD" "-D_CRT_NONSTDC_NO_WARNINGS" "-D_WINSOCK_DEPRECATED_NO_WARNINGS" "-D_SILENCE_ALL_CXX17_DEPRECATION_WARNINGS" "-D_SILENCE_ALL_CXX20_DEPRECATION_WARNINGS" "-D_HAS_EXCEPTIONS=0" "-D__STD_C" "-D_CRT_RAND_S" "-D_CRT_SECURE_NO_DEPRECATE" "-D_SCL_SECURE_NO_DEPRECATE" "-D_ATL_NO_OPENGL" "-D_WINDOWS" "-DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS" "-DPSAPI_VERSION=2" "-DWIN32" "-D_SECURE_ATL" "-DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP" "-DWIN32_LEAN_AND_MEAN" "-DNOMINMAX" "-D_UNICODE" "-DUNICODE" "-DNTDDI_VERSION=NTDDI_WIN10_NI" "-D_WIN32_WINNT=0x0A00" "-DWINVER=0x0A00" "-DNDEBUG" "-DNVALGRIND" "-DDYNAMIC_ANNOTATIONS_ENABLED=0" "-DWEBRTC_ENABLE_PROTOBUF=0" "-DWEBRTC_STRICT_FIELD_TRIALS=0" "-DWEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE" "-DRTC_ENABLE_VP9" "-DRTC_DAV1D_IN_INTERNAL_DECODER_FACTORY" "-DWEBRTC_HAVE_SCTP" "-DWEBRTC_USE_H264" "-DWEBRTC_LIBRARY_IMPL" "-DWEBRTC_ENABLE_AVX2" "-DRTC_ENABLE_WIN_WGC" "-DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0" "-DWEBRTC_WIN" "-DABSL_ALLOCATOR_NOTHROW=1" "-D_ENABLE_EXTENDED_ALIGNED_STORAGE" "-DLIBYUV_DISABLE_NEON" "-DLIVEKIT_TEST" "-FoC:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\webrtc-sys-de8572f667a4a4b2\\out\\src/audio_resampler.o" "-c" "src/audio_resampler.cpp"
  audio_resampler.cpp
  src/audio_resampler.cpp(1): warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
  C:\Users\Administrator\Desktop\rust-sdks-main\webrtc-sys\include\livekit/audio_resampler.h(1): warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
  C:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\um\fileapi.h(1065): error C2061: syntax error: identifier 'FILE_INFO_BY_HANDLE_CLASS'
  C:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\um\winbase.h(9166): error C2061: syntax error: identifier 'FILE_INFO_BY_HANDLE_CLASS'
  C:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\um\fileapi.h(1065): error C2061: syntax error: identifier 'FILE_INFO_BY_HANDLE_CLASS'

  exit code: 2
  cargo:warning=ToolExecError: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.35.32215\\bin\\HostX64\\x64\\cl.exe" "-nologo" "-MT" "-Z7" "-Brepro" "-I" "C:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\webrtc-sys-de8572f667a4a4b2\\out\\cxxbridge\\include" "-I" "C:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\webrtc-sys-de8572f667a4a4b2\\out\\cxxbridge\\crate" "-I" "./include" "-I" "C:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\scratch-e9a99c9884e8e24e\\out\\livekit_webrtc\\livekit/webrtc-win-x64-release-webrtc-0649214/webrtc-win-x64-release\\include" "-I" "C:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\scratch-e9a99c9884e8e24e\\out\\livekit_webrtc\\livekit/webrtc-win-x64-release-webrtc-0649214/webrtc-win-x64-release\\include\\third_party/abseil-cpp/" "-I" "C:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\scratch-e9a99c9884e8e24e\\out\\livekit_webrtc\\livekit/webrtc-win-x64-release-webrtc-0649214/webrtc-win-x64-release\\include\\third_party/libyuv/include/" "-I" "C:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\scratch-e9a99c9884e8e24e\\out\\livekit_webrtc\\livekit/webrtc-win-x64-release-webrtc-0649214/webrtc-win-x64-release\\include\\third_party/libc++/" "-I" "C:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\scratch-e9a99c9884e8e24e\\out\\livekit_webrtc\\livekit/webrtc-win-x64-release-webrtc-0649214/webrtc-win-x64-release\\include\\sdk/objc" "-I" "C:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\scratch-e9a99c9884e8e24e\\out\\livekit_webrtc\\livekit/webrtc-win-x64-release-webrtc-0649214/webrtc-win-x64-release\\include\\sdk/objc/base" "/std:c++20" "/EHsc" "-DUSE_AURA=1" "-D_HAS_NODISCARD" "-D_CRT_NONSTDC_NO_WARNINGS" "-D_WINSOCK_DEPRECATED_NO_WARNINGS" "-D_SILENCE_ALL_CXX17_DEPRECATION_WARNINGS" "-D_SILENCE_ALL_CXX20_DEPRECATION_WARNINGS" "-D_HAS_EXCEPTIONS=0" "-D__STD_C" "-D_CRT_RAND_S" "-D_CRT_SECURE_NO_DEPRECATE" "-D_SCL_SECURE_NO_DEPRECATE" "-D_ATL_NO_OPENGL" "-D_WINDOWS" "-DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS" "-DPSAPI_VERSION=2" "-DWIN32" "-D_SECURE_ATL" "-DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP" "-DWIN32_LEAN_AND_MEAN" "-DNOMINMAX" "-D_UNICODE" "-DUNICODE" "-DNTDDI_VERSION=NTDDI_WIN10_NI" "-D_WIN32_WINNT=0x0A00" "-DWINVER=0x0A00" "-DNDEBUG" "-DNVALGRIND" "-DDYNAMIC_ANNOTATIONS_ENABLED=0" "-DWEBRTC_ENABLE_PROTOBUF=0" "-DWEBRTC_STRICT_FIELD_TRIALS=0" "-DWEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE" "-DRTC_ENABLE_VP9" "-DRTC_DAV1D_IN_INTERNAL_DECODER_FACTORY" "-DWEBRTC_HAVE_SCTP" "-DWEBRTC_USE_H264" "-DWEBRTC_LIBRARY_IMPL" "-DWEBRTC_ENABLE_AVX2" "-DRTC_ENABLE_WIN_WGC" "-DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0" "-DWEBRTC_WIN" "-DABSL_ALLOCATOR_NOTHROW=1" "-D_ENABLE_EXTENDED_ALIGNED_STORAGE" "-DLIBYUV_DISABLE_NEON" "-DLIVEKIT_TEST" "-FoC:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\webrtc-sys-de8572f667a4a4b2\\out\\src/audio_device.o" "-c" "src/audio_device.cpp" with args "cl.exe" did not execute successfully (status code exit code: 2).running: "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.35.32215\\bin\\HostX64\\x64\\cl.exe" "-nologo" "-MT" "-Z7" "-Brepro" "-I" "C:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\webrtc-sys-de8572f667a4a4b2\\out\\cxxbridge\\include" "-I" "C:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\webrtc-sys-de8572f667a4a4b2\\out\\cxxbridge\\crate" "-I" "./include" "-I" "C:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\scratch-e9a99c9884e8e24e\\out\\livekit_webrtc\\livekit/webrtc-win-x64-release-webrtc-0649214/webrtc-win-x64-release\\include" "-I" "C:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\scratch-e9a99c9884e8e24e\\out\\livekit_webrtc\\livekit/webrtc-win-x64-release-webrtc-0649214/webrtc-win-x64-release\\include\\third_party/abseil-cpp/" "-I" "C:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\scratch-e9a99c9884e8e24e\\out\\livekit_webrtc\\livekit/webrtc-win-x64-release-webrtc-0649214/webrtc-win-x64-release\\include\\third_party/libyuv/include/" "-I" "C:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\scratch-e9a99c9884e8e24e\\out\\livekit_webrtc\\livekit/webrtc-win-x64-release-webrtc-0649214/webrtc-win-x64-release\\include\\third_party/libc++/" "-I" "C:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\scratch-e9a99c9884e8e24e\\out\\livekit_webrtc\\livekit/webrtc-win-x64-release-webrtc-0649214/webrtc-win-x64-release\\include\\sdk/objc" "-I" "C:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\scratch-e9a99c9884e8e24e\\out\\livekit_webrtc\\livekit/webrtc-win-x64-release-webrtc-0649214/webrtc-win-x64-release\\include\\sdk/objc/base" "/std:c++20" "/EHsc" "-DUSE_AURA=1" "-D_HAS_NODISCARD" "-D_CRT_NONSTDC_NO_WARNINGS" "-D_WINSOCK_DEPRECATED_NO_WARNINGS" "-D_SILENCE_ALL_CXX17_DEPRECATION_WARNINGS" "-D_SILENCE_ALL_CXX20_DEPRECATION_WARNINGS" "-D_HAS_EXCEPTIONS=0" "-D__STD_C" "-D_CRT_RAND_S" "-D_CRT_SECURE_NO_DEPRECATE" "-D_SCL_SECURE_NO_DEPRECATE" "-D_ATL_NO_OPENGL" "-D_WINDOWS" "-DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS" "-DPSAPI_VERSION=2" "-DWIN32" "-D_SECURE_ATL" "-DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP" "-DWIN32_LEAN_AND_MEAN" "-DNOMINMAX" "-D_UNICODE" "-DUNICODE" "-DNTDDI_VERSION=NTDDI_WIN10_NI" "-D_WIN32_WINNT=0x0A00" "-DWINVER=0x0A00" "-DNDEBUG" "-DNVALGRIND" "-DDYNAMIC_ANNOTATIONS_ENABLED=0" "-DWEBRTC_ENABLE_PROTOBUF=0" "-DWEBRTC_STRICT_FIELD_TRIALS=0" "-DWEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE" "-DRTC_ENABLE_VP9" "-DRTC_DAV1D_IN_INTERNAL_DECODER_FACTORY" "-DWEBRTC_HAVE_SCTP" "-DWEBRTC_USE_H264" "-DWEBRTC_LIBRARY_IMPL" "-DWEBRTC_ENABLE_AVX2" "-DRTC_ENABLE_WIN_WGC" "-DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0" "-DWEBRTC_WIN" "-DABSL_ALLOCATOR_NOTHROW=1" "-D_ENABLE_EXTENDED_ALIGNED_STORAGE" "-DLIBYUV_DISABLE_NEON" "-DLIVEKIT_TEST" "-FoC:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\webrtc-sys-de8572f667a4a4b2\\out\\src/frame_cryptor.o" "-c" "src/frame_cryptor.cpp"
  C:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\um\winbase.h(9166): error C2061: syntax error: identifier 'FILE_INFO_BY_HANDLE_CLASS'
  frame_cryptor.cpp
  src/frame_cryptor.cpp(1): warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
  C:\Users\Administrator\Desktop\rust-sdks-main\webrtc-sys\include\livekit/frame_cryptor.h(1): warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
  C:\Users\Administrator\Desktop\rust-sdks-main\webrtc-sys\include\livekit/webrtc.h(1): warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
  C:\Users\Administrator\Desktop\rust-sdks-main\examples\target\debug\build\scratch-e9a99c9884e8e24e\out\livekit_webrtc\livekit\webrtc-win-x64-release-webrtc-0649214\webrtc-win-x64-release\include\third_party\abseil-cpp\absl/container/internal/inlined_vector.h(30): fatal error C1083: Cannot open include file: 'absl/container/internal/compressed_tuple.h': No such file or directory

  exit code: 2
  cargo:warning=ToolExecError: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.35.32215\\bin\\HostX64\\x64\\cl.exe" "-nologo" "-MT" "-Z7" "-Brepro" "-I" "C:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\webrtc-sys-de8572f667a4a4b2\\out\\cxxbridge\\include" "-I" "C:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\webrtc-sys-de8572f667a4a4b2\\out\\cxxbridge\\crate" "-I" "./include" "-I" "C:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\scratch-e9a99c9884e8e24e\\out\\livekit_webrtc\\livekit/webrtc-win-x64-release-webrtc-0649214/webrtc-win-x64-release\\include" "-I" "C:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\scratch-e9a99c9884e8e24e\\out\\livekit_webrtc\\livekit/webrtc-win-x64-release-webrtc-0649214/webrtc-win-x64-release\\include\\third_party/abseil-cpp/" "-I" "C:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\scratch-e9a99c9884e8e24e\\out\\livekit_webrtc\\livekit/webrtc-win-x64-release-webrtc-0649214/webrtc-win-x64-release\\include\\third_party/libyuv/include/" "-I" "C:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\scratch-e9a99c9884e8e24e\\out\\livekit_webrtc\\livekit/webrtc-win-x64-release-webrtc-0649214/webrtc-win-x64-release\\include\\third_party/libc++/" "-I" "C:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\scratch-e9a99c9884e8e24e\\out\\livekit_webrtc\\livekit/webrtc-win-x64-release-webrtc-0649214/webrtc-win-x64-release\\include\\sdk/objc" "-I" "C:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\scratch-e9a99c9884e8e24e\\out\\livekit_webrtc\\livekit/webrtc-win-x64-release-webrtc-0649214/webrtc-win-x64-release\\include\\sdk/objc/base" "/std:c++20" "/EHsc" "-DUSE_AURA=1" "-D_HAS_NODISCARD" "-D_CRT_NONSTDC_NO_WARNINGS" "-D_WINSOCK_DEPRECATED_NO_WARNINGS" "-D_SILENCE_ALL_CXX17_DEPRECATION_WARNINGS" "-D_SILENCE_ALL_CXX20_DEPRECATION_WARNINGS" "-D_HAS_EXCEPTIONS=0" "-D__STD_C" "-D_CRT_RAND_S" "-D_CRT_SECURE_NO_DEPRECATE" "-D_SCL_SECURE_NO_DEPRECATE" "-D_ATL_NO_OPENGL" "-D_WINDOWS" "-DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS" "-DPSAPI_VERSION=2" "-DWIN32" "-D_SECURE_ATL" "-DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP" "-DWIN32_LEAN_AND_MEAN" "-DNOMINMAX" "-D_UNICODE" "-DUNICODE" "-DNTDDI_VERSION=NTDDI_WIN10_NI" "-D_WIN32_WINNT=0x0A00" "-DWINVER=0x0A00" "-DNDEBUG" "-DNVALGRIND" "-DDYNAMIC_ANNOTATIONS_ENABLED=0" "-DWEBRTC_ENABLE_PROTOBUF=0" "-DWEBRTC_STRICT_FIELD_TRIALS=0" "-DWEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE" "-DRTC_ENABLE_VP9" "-DRTC_DAV1D_IN_INTERNAL_DECODER_FACTORY" "-DWEBRTC_HAVE_SCTP" "-DWEBRTC_USE_H264" "-DWEBRTC_LIBRARY_IMPL" "-DWEBRTC_ENABLE_AVX2" "-DRTC_ENABLE_WIN_WGC" "-DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0" "-DWEBRTC_WIN" "-DABSL_ALLOCATOR_NOTHROW=1" "-D_ENABLE_EXTENDED_ALIGNED_STORAGE" "-DLIBYUV_DISABLE_NEON" "-DLIVEKIT_TEST" "-FoC:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\webrtc-sys-de8572f667a4a4b2\\out\\src/audio_resampler.o" "-c" "src/audio_resampler.cpp" with args "cl.exe" did not execute successfully (status code exit code: 2).C:\Users\Administrator\Desktop\rust-sdks-main\examples\target\debug\build\scratch-e9a99c9884e8e24e\out\livekit_webrtc\livekit\webrtc-win-x64-release-webrtc-0649214\webrtc-win-x64-release\include\third_party\abseil-cpp\absl/container/internal/inlined_vector.h(30): fatal error C1083: Cannot open include file: 'absl/container/internal/compressed_tuple.h': No such file or directory

  exit code: 2
  cargo:warning=ToolExecError: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.35.32215\\bin\\HostX64\\x64\\cl.exe" "-nologo" "-MT" "-Z7" "-Brepro" "-I" "C:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\webrtc-sys-de8572f667a4a4b2\\out\\cxxbridge\\include" "-I" "C:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\webrtc-sys-de8572f667a4a4b2\\out\\cxxbridge\\crate" "-I" "./include" "-I" "C:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\scratch-e9a99c9884e8e24e\\out\\livekit_webrtc\\livekit/webrtc-win-x64-release-webrtc-0649214/webrtc-win-x64-release\\include" "-I" "C:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\scratch-e9a99c9884e8e24e\\out\\livekit_webrtc\\livekit/webrtc-win-x64-release-webrtc-0649214/webrtc-win-x64-release\\include\\third_party/abseil-cpp/" "-I" "C:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\scratch-e9a99c9884e8e24e\\out\\livekit_webrtc\\livekit/webrtc-win-x64-release-webrtc-0649214/webrtc-win-x64-release\\include\\third_party/libyuv/include/" "-I" "C:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\scratch-e9a99c9884e8e24e\\out\\livekit_webrtc\\livekit/webrtc-win-x64-release-webrtc-0649214/webrtc-win-x64-release\\include\\third_party/libc++/" "-I" "C:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\scratch-e9a99c9884e8e24e\\out\\livekit_webrtc\\livekit/webrtc-win-x64-release-webrtc-0649214/webrtc-win-x64-release\\include\\sdk/objc" "-I" "C:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\scratch-e9a99c9884e8e24e\\out\\livekit_webrtc\\livekit/webrtc-win-x64-release-webrtc-0649214/webrtc-win-x64-release\\include\\sdk/objc/base" "/std:c++20" "/EHsc" "-DUSE_AURA=1" "-D_HAS_NODISCARD" "-D_CRT_NONSTDC_NO_WARNINGS" "-D_WINSOCK_DEPRECATED_NO_WARNINGS" "-D_SILENCE_ALL_CXX17_DEPRECATION_WARNINGS" "-D_SILENCE_ALL_CXX20_DEPRECATION_WARNINGS" "-D_HAS_EXCEPTIONS=0" "-D__STD_C" "-D_CRT_RAND_S" "-D_CRT_SECURE_NO_DEPRECATE" "-D_SCL_SECURE_NO_DEPRECATE" "-D_ATL_NO_OPENGL" "-D_WINDOWS" "-DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS" "-DPSAPI_VERSION=2" "-DWIN32" "-D_SECURE_ATL" "-DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP" "-DWIN32_LEAN_AND_MEAN" "-DNOMINMAX" "-D_UNICODE" "-DUNICODE" "-DNTDDI_VERSION=NTDDI_WIN10_NI" "-D_WIN32_WINNT=0x0A00" "-DWINVER=0x0A00" "-DNDEBUG" "-DNVALGRIND" "-DDYNAMIC_ANNOTATIONS_ENABLED=0" "-DWEBRTC_ENABLE_PROTOBUF=0" "-DWEBRTC_STRICT_FIELD_TRIALS=0" "-DWEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE" "-DRTC_ENABLE_VP9" "-DRTC_DAV1D_IN_INTERNAL_DECODER_FACTORY" "-DWEBRTC_HAVE_SCTP" "-DWEBRTC_USE_H264" "-DWEBRTC_LIBRARY_IMPL" "-DWEBRTC_ENABLE_AVX2" "-DRTC_ENABLE_WIN_WGC" "-DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0" "-DWEBRTC_WIN" "-DABSL_ALLOCATOR_NOTHROW=1" "-D_ENABLE_EXTENDED_ALIGNED_STORAGE" "-DLIBYUV_DISABLE_NEON" "-DLIVEKIT_TEST" "-FoC:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\webrtc-sys-de8572f667a4a4b2\\out\\src/frame_cryptor.o" "-c" "src/frame_cryptor.cpp" with args "cl.exe" did not execute successfully (status code exit code: 2).
  --- stderr

  CXX include path:
    C:\Users\Administrator\Desktop\rust-sdks-main\examples\target\debug\build\webrtc-sys-de8572f667a4a4b2\out\cxxbridge\include
    C:\Users\Administrator\Desktop\rust-sdks-main\examples\target\debug\build\webrtc-sys-de8572f667a4a4b2\out\cxxbridge\crate


  error occurred: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.35.32215\\bin\\HostX64\\x64\\cl.exe" "-nologo" "-MT" "-Z7" "-Brepro" "-I" "C:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\webrtc-sys-de8572f667a4a4b2\\out\\cxxbridge\\include" "-I" "C:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\webrtc-sys-de8572f667a4a4b2\\out\\cxxbridge\\crate" "-I" "./include" "-I" "C:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\scratch-e9a99c9884e8e24e\\out\\livekit_webrtc\\livekit/webrtc-win-x64-release-webrtc-0649214/webrtc-win-x64-release\\include" "-I" "C:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\scratch-e9a99c9884e8e24e\\out\\livekit_webrtc\\livekit/webrtc-win-x64-release-webrtc-0649214/webrtc-win-x64-release\\include\\third_party/abseil-cpp/" "-I" "C:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\scratch-e9a99c9884e8e24e\\out\\livekit_webrtc\\livekit/webrtc-win-x64-release-webrtc-0649214/webrtc-win-x64-release\\include\\third_party/libyuv/include/" "-I" "C:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\scratch-e9a99c9884e8e24e\\out\\livekit_webrtc\\livekit/webrtc-win-x64-release-webrtc-0649214/webrtc-win-x64-release\\include\\third_party/libc++/" "-I" "C:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\scratch-e9a99c9884e8e24e\\out\\livekit_webrtc\\livekit/webrtc-win-x64-release-webrtc-0649214/webrtc-win-x64-release\\include\\sdk/objc" "-I" "C:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\scratch-e9a99c9884e8e24e\\out\\livekit_webrtc\\livekit/webrtc-win-x64-release-webrtc-0649214/webrtc-win-x64-release\\include\\sdk/objc/base" "/std:c++20" "/EHsc" "-DUSE_AURA=1" "-D_HAS_NODISCARD" "-D_CRT_NONSTDC_NO_WARNINGS" "-D_WINSOCK_DEPRECATED_NO_WARNINGS" "-D_SILENCE_ALL_CXX17_DEPRECATION_WARNINGS" "-D_SILENCE_ALL_CXX20_DEPRECATION_WARNINGS" "-D_HAS_EXCEPTIONS=0" "-D__STD_C" "-D_CRT_RAND_S" "-D_CRT_SECURE_NO_DEPRECATE" "-D_SCL_SECURE_NO_DEPRECATE" "-D_ATL_NO_OPENGL" "-D_WINDOWS" "-DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS" "-DPSAPI_VERSION=2" "-DWIN32" "-D_SECURE_ATL" "-DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP" "-DWIN32_LEAN_AND_MEAN" "-DNOMINMAX" "-D_UNICODE" "-DUNICODE" "-DNTDDI_VERSION=NTDDI_WIN10_NI" "-D_WIN32_WINNT=0x0A00" "-DWINVER=0x0A00" "-DNDEBUG" "-DNVALGRIND" "-DDYNAMIC_ANNOTATIONS_ENABLED=0" "-DWEBRTC_ENABLE_PROTOBUF=0" "-DWEBRTC_STRICT_FIELD_TRIALS=0" "-DWEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE" "-DRTC_ENABLE_VP9" "-DRTC_DAV1D_IN_INTERNAL_DECODER_FACTORY" "-DWEBRTC_HAVE_SCTP" "-DWEBRTC_USE_H264" "-DWEBRTC_LIBRARY_IMPL" "-DWEBRTC_ENABLE_AVX2" "-DRTC_ENABLE_WIN_WGC" "-DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0" "-DWEBRTC_WIN" "-DABSL_ALLOCATOR_NOTHROW=1" "-D_ENABLE_EXTENDED_ALIGNED_STORAGE" "-DLIBYUV_DISABLE_NEON" "-DLIVEKIT_TEST" "-FoC:\\Users\\Administrator\\Desktop\\rust-sdks-main\\examples\\target\\debug\\build\\webrtc-sys-de8572f667a4a4b2\\out\\src/frame_cryptor.o" "-c" "src/frame_cryptor.cpp" with args "cl.exe" did not execute successfully (status code exit code: 2).
@fuyoo fuyoo changed the title Window build faild Windows build faild Nov 3, 2023
@theomonnom
Copy link
Member

Hey, can you try with the last commit in main, I did some changes related to Windows

@fuyoo
Copy link
Author

fuyoo commented Nov 4, 2023

Build passed by update to vs2022.

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

No branches or pull requests

2 participants