Skip to content

Can't compile because of tg_owt on Windows #29335

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

Open
fatal-strike-official opened this issue May 19, 2025 · 0 comments
Open

Can't compile because of tg_owt on Windows #29335

fatal-strike-official opened this issue May 19, 2025 · 0 comments
Labels

Comments

@fatal-strike-official
Copy link

fatal-strike-official commented May 19, 2025

Steps to reproduce

I compiled everything normally, but error is tg_owt

Expected behaviour

It just compiles everything, then i build it into .sln and into .exe

Actual behaviour

i did everything that in tutorial, but when it reach tg_owt it says FAILED.

Operating system

Windows 10

Version of Telegram Desktop

5.14.2

Installation source

Static binary from official website

Crash ID

No response

Logs

`-- The C compiler identification is MSVC 19.38.33133.0
-- The CXX compiler identification is MSVC 19.38.33133.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.38.33130/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.38.33130/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for __x86_64
-- Looking for __x86_64 - not found
-- Looking for __x86_64__
-- Looking for __x86_64__ - not found
-- Looking for __amd64
-- Looking for __amd64 - not found
-- Looking for _M_X64
-- Looking for _M_X64 - found
-- Processor architecture is 64-bit x86.
-- Found Python: C:/Users/huggy/AppData/Local/Programs/Python/Python39/python.exe (found version "3.9.0") found components: Interpreter
-- Configuring done (4.4s)
-- Generating done (0.8s)
-- Build files have been written to: C:/TBuild/Libraries/win64/tg_owt/out/Debug
[44/1380] Building CXX object CMakeFiles\tg_owt_avx2.dir\src\modules\audio_processing\aec3\fft_data_avx2.cc.obj
FAILED: CMakeFiles/tg_owt_avx2.dir/src/modules/audio_processing/aec3/fft_data_avx2.cc.obj
C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1438~1.331\bin\Hostx64\x64\cl.exe  /nologo /TP -DABSL_ALLOCATOR_NOTHROW=1 -DBWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0 -DHAVE_SCTP -DHAVE_SSE2 -DHAVE_WEBRTC_VIDEO -DHAVE_WINDOWS_H -DHAVE_WINSOCK2_H -DHAVE_X86 -DNOMINMAX -DNO_MAIN_THREAD_WRAPPING -DRTC_DISABLE_TRACE_EVENTS -DRTC_ENABLE_H265 -DRTC_ENABLE_VP9 -DRTC_ENABLE_WIN_WGC -DWEBRTC_APM_DEBUG_DUMP=0 -DWEBRTC_DUMMY_AUDIO_BUILD -DWEBRTC_ENABLE_PROTOBUF=0 -DWEBRTC_HAVE_DCSCTP -DWEBRTC_HAVE_SCTP -DWEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE -DWEBRTC_LIBRARY_IMPL -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=1 -DWEBRTC_OPUS_SUPPORT_120MS_PTIME=1 -DWEBRTC_OPUS_VARIABLE_COMPLEXITY=0 -DWEBRTC_USE_BUILTIN_ISAC_FLOAT -DWEBRTC_USE_H264 -DWEBRTC_WIN -DWIN32_LEAN_AND_MEAN -IC:\TBuild\Libraries\win64\tg_owt\src -IC:\TBuild\Libraries\win64\tg_owt\src\third_party\libyuv\include -IC:\TBuild\Libraries\win64\tg_owt\src\third_party\abseil-cpp /DWIN32 /D_WINDOWS /GR /EHsc /Zi /Ob0 /Od /RTC1 -std:c++20 -MTd /W1 /wd4715 /wd4244 /wd4838 /wd4305 /wd4068 /wd5055 /MP /EHsc /arch:AVX2 /showIncludes /FoCMakeFiles\tg_owt_avx2.dir\src\modules\audio_processing\aec3\fft_data_avx2.cc.obj /FdCMakeFiles\tg_owt_avx2.dir\ /FS -c C:\TBuild\Libraries\win64\tg_owt\src\modules\audio_processing\aec3\fft_data_avx2.cc
C:\TBuild\Libraries\win64\tg_owt\src\api/array_view.h(162): error C2676: binary '<<': 'rtc::webrtc_checks_impl::LogStreamer<>' does not define this operator or a conversion to a type acceptable to the built-in operator
C:\TBuild\Libraries\win64\tg_owt\src\rtc_base/checks.h(243): note: could be 'rtc::webrtc_checks_impl::LogStreamer<V> rtc::webrtc_checks_impl::LogStreamer<>::operator <<(const U &) const'
C:\TBuild\Libraries\win64\tg_owt\src\api/array_view.h(162): note: 'rtc::webrtc_checks_impl::LogStreamer<V> rtc::webrtc_checks_impl::LogStreamer<>::operator <<(const U &) const': could not deduce template argument for 'V'
C:\TBuild\Libraries\win64\tg_owt\src\rtc_base/checks.h(235): note: or       'rtc::webrtc_checks_impl::LogStreamer<V> rtc::webrtc_checks_impl::LogStreamer<>::operator <<(U) const'
C:\TBuild\Libraries\win64\tg_owt\src\api/array_view.h(162): note: 'rtc::webrtc_checks_impl::LogStreamer<V> rtc::webrtc_checks_impl::LogStreamer<>::operator <<(U) const': could not deduce template argument for 'V'
C:\TBuild\Libraries\win64\tg_owt\src\api/array_view.h(162): note: template instantiation context (oldest first)
C:\TBuild\Libraries\win64\tg_owt\src\modules/audio_processing/aec3/fft_data.h(67): note: compiling reference to template function 'rtc::ArrayView<float,-4711>::ArrayView<rtc::ArrayView<float,-4711>,0x0>(U &)'
        with
        [
            U=rtc::ArrayView<float,-4711>
        ]
C:\TBuild\Libraries\win64\tg_owt\src\modules/audio_processing/aec3/fft_data.h(67): note: see first reference to 'rtc::ArrayView<float,-4711>::ArrayView' in 'webrtc::FftData::Spectrum'
C:\TBuild\Libraries\win64\tg_owt\src\api/array_view.h(248): note: compiling reference to template function 'rtc::ArrayView<float,-4711>::ArrayView<T>(U *,size_t)'
        with
        [
            T=float,
            U=float
        ]
[45/1380] Building CXX object CMakeFiles\tg_owt_avx2.dir\src\modules\audio_processing\aec3\matched_filter_avx2.cc.obj
FAILED: CMakeFiles/tg_owt_avx2.dir/src/modules/audio_processing/aec3/matched_filter_avx2.cc.obj
C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1438~1.331\bin\Hostx64\x64\cl.exe  /nologo /TP -DABSL_ALLOCATOR_NOTHROW=1 -DBWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0 -DHAVE_SCTP -DHAVE_SSE2 -DHAVE_WEBRTC_VIDEO -DHAVE_WINDOWS_H -DHAVE_WINSOCK2_H -DHAVE_X86 -DNOMINMAX -DNO_MAIN_THREAD_WRAPPING -DRTC_DISABLE_TRACE_EVENTS -DRTC_ENABLE_H265 -DRTC_ENABLE_VP9 -DRTC_ENABLE_WIN_WGC -DWEBRTC_APM_DEBUG_DUMP=0 -DWEBRTC_DUMMY_AUDIO_BUILD -DWEBRTC_ENABLE_PROTOBUF=0 -DWEBRTC_HAVE_DCSCTP -DWEBRTC_HAVE_SCTP -DWEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE -DWEBRTC_LIBRARY_IMPL -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=1 -DWEBRTC_OPUS_SUPPORT_120MS_PTIME=1 -DWEBRTC_OPUS_VARIABLE_COMPLEXITY=0 -DWEBRTC_USE_BUILTIN_ISAC_FLOAT -DWEBRTC_USE_H264 -DWEBRTC_WIN -DWIN32_LEAN_AND_MEAN -IC:\TBuild\Libraries\win64\tg_owt\src -IC:\TBuild\Libraries\win64\tg_owt\src\third_party\libyuv\include -IC:\TBuild\Libraries\win64\tg_owt\src\third_party\abseil-cpp /DWIN32 /D_WINDOWS /GR /EHsc /Zi /Ob0 /Od /RTC1 -std:c++20 -MTd /W1 /wd4715 /wd4244 /wd4838 /wd4305 /wd4068 /wd5055 /MP /EHsc /arch:AVX2 /showIncludes /FoCMakeFiles\tg_owt_avx2.dir\src\modules\audio_processing\aec3\matched_filter_avx2.cc.obj /FdCMakeFiles\tg_owt_avx2.dir\ /FS -c C:\TBuild\Libraries\win64\tg_owt\src\modules\audio_processing\aec3\matched_filter_avx2.cc
C:\TBuild\Libraries\win64\tg_owt\src\rtc_base/checks.h(236): error C2440: '<function-style-cast>': cannot convert from 'initializer list' to 'rtc::webrtc_checks_impl::LogStreamer<rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kULongLong,unsigned __int64>>'
C:\TBuild\Libraries\win64\tg_owt\src\rtc_base/checks.h(236): note: 'rtc::webrtc_checks_impl::LogStreamer<rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kULongLong,unsigned __int64>>::LogStreamer': no overloaded function can convert all the argument types
C:\TBuild\Libraries\win64\tg_owt\src\rtc_base/checks.h(280): note: could be 'rtc::webrtc_checks_impl::LogStreamer<rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kULongLong,unsigned __int64>>::LogStreamer(T,const rtc::webrtc_checks_impl::LogStreamer<> *)'
        with
        [
            T=rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kULongLong,unsigned __int64>
        ]
C:\TBuild\Libraries\win64\tg_owt\src\rtc_base/checks.h(236): note: 'rtc::webrtc_checks_impl::LogStreamer<rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kULongLong,unsigned __int64>>::LogStreamer(T,const rtc::webrtc_checks_impl::LogStreamer<> *)': cannot convert argument 1 from 'rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kInt,int>' to 'T'
        with
        [
            T=rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kULongLong,unsigned __int64>
        ]
C:\TBuild\Libraries\win64\tg_owt\src\rtc_base/checks.h(236): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\TBuild\Libraries\win64\tg_owt\src\rtc_base/checks.h(236): note: while trying to match the argument list '(rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kInt,int>, const rtc::webrtc_checks_impl::LogStreamer<> *)'
C:\TBuild\Libraries\win64\tg_owt\src\rtc_base/checks.h(236): note: template instantiation context (oldest first)
C:\TBuild\Libraries\win64\tg_owt\src\modules\audio_processing\aec3\matched_filter_avx2.cc(79): note: compiling reference to template function 'rtc::webrtc_checks_impl::LogStreamer<rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kULongLong,unsigned __int64>> rtc::webrtc_checks_impl::LogStreamer<>::operator <<<int,rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kULongLong,unsigned __int64>,0x0>(U) const'
        with
        [
            U=int
        ]
C:\TBuild\Libraries\win64\tg_owt\src\rtc_base/checks.h(288): error C2440: '<function-style-cast>': cannot convert from 'initializer list' to 'rtc::webrtc_checks_impl::LogStreamer<rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kULongLong,unsigned __int64>,T>'
        with
        [
            T=rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kULongLong,unsigned __int64>
        ]
C:\TBuild\Libraries\win64\tg_owt\src\rtc_base/checks.h(288): note: 'rtc::webrtc_checks_impl::LogStreamer<rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kULongLong,unsigned __int64>,T>::LogStreamer': no overloaded function can convert all the argument types
        with
        [
            T=rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kULongLong,unsigned __int64>
        ]
C:\TBuild\Libraries\win64\tg_owt\src\rtc_base/checks.h(280): note: could be 'rtc::webrtc_checks_impl::LogStreamer<rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kULongLong,unsigned __int64>,T>::LogStreamer(T,const rtc::webrtc_checks_impl::LogStreamer<rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kULongLong,unsigned __int64>> *)'
        with
        [
            T=rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kULongLong,unsigned __int64>
        ]
C:\TBuild\Libraries\win64\tg_owt\src\rtc_base/checks.h(288): note: 'rtc::webrtc_checks_impl::LogStreamer<rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kULongLong,unsigned __int64>,T>::LogStreamer(T,const rtc::webrtc_checks_impl::LogStreamer<rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kULongLong,unsigned __int64>> *)': cannot convert argument 1 from 'rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kInt,int>' to 'T'
        with
        [
            T=rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kULongLong,unsigned __int64>
        ]
C:\TBuild\Libraries\win64\tg_owt\src\rtc_base/checks.h(288): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\TBuild\Libraries\win64\tg_owt\src\rtc_base/checks.h(288): note: while trying to match the argument list '(rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kInt,int>, const rtc::webrtc_checks_impl::LogStreamer<rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kULongLong,unsigned __int64>> *)'
C:\TBuild\Libraries\win64\tg_owt\src\rtc_base/checks.h(288): note: template instantiation context (oldest first)
C:\TBuild\Libraries\win64\tg_owt\src\modules\audio_processing\aec3\matched_filter_avx2.cc(79): note: compiling reference to template function 'rtc::webrtc_checks_impl::LogStreamer<rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kULongLong,unsigned __int64>,T> rtc::webrtc_checks_impl::LogStreamer<rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kULongLong,unsigned __int64>>::operator <<<int,rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kULongLong,unsigned __int64>,0x0>(U) const'
        with
        [
            T=rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kULongLong,unsigned __int64>,
            U=int
        ]
C:\TBuild\Libraries\win64\tg_owt\src\modules\audio_processing\aec3\matched_filter_avx2.cc(79): note: see first reference to 'rtc::webrtc_checks_impl::LogStreamer<rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kULongLong,unsigned __int64>>::operator <<' in 'webrtc::aec3::MatchedFilterCore_AccumulatedError_AVX2'
[50/1380] Building CXX object CMakeFiles\tg_owt_avx2.dir\src\modules\audio_processing\aec3\vector_math_avx2.cc.obj
FAILED: CMakeFiles/tg_owt_avx2.dir/src/modules/audio_processing/aec3/vector_math_avx2.cc.obj
C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1438~1.331\bin\Hostx64\x64\cl.exe  /nologo /TP -DABSL_ALLOCATOR_NOTHROW=1 -DBWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0 -DHAVE_SCTP -DHAVE_SSE2 -DHAVE_WEBRTC_VIDEO -DHAVE_WINDOWS_H -DHAVE_WINSOCK2_H -DHAVE_X86 -DNOMINMAX -DNO_MAIN_THREAD_WRAPPING -DRTC_DISABLE_TRACE_EVENTS -DRTC_ENABLE_H265 -DRTC_ENABLE_VP9 -DRTC_ENABLE_WIN_WGC -DWEBRTC_APM_DEBUG_DUMP=0 -DWEBRTC_DUMMY_AUDIO_BUILD -DWEBRTC_ENABLE_PROTOBUF=0 -DWEBRTC_HAVE_DCSCTP -DWEBRTC_HAVE_SCTP -DWEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE -DWEBRTC_LIBRARY_IMPL -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=1 -DWEBRTC_OPUS_SUPPORT_120MS_PTIME=1 -DWEBRTC_OPUS_VARIABLE_COMPLEXITY=0 -DWEBRTC_USE_BUILTIN_ISAC_FLOAT -DWEBRTC_USE_H264 -DWEBRTC_WIN -DWIN32_LEAN_AND_MEAN -IC:\TBuild\Libraries\win64\tg_owt\src -IC:\TBuild\Libraries\win64\tg_owt\src\third_party\libyuv\include -IC:\TBuild\Libraries\win64\tg_owt\src\third_party\abseil-cpp /DWIN32 /D_WINDOWS /GR /EHsc /Zi /Ob0 /Od /RTC1 -std:c++20 -MTd /W1 /wd4715 /wd4244 /wd4838 /wd4305 /wd4068 /wd5055 /MP /EHsc /arch:AVX2 /showIncludes /FoCMakeFiles\tg_owt_avx2.dir\src\modules\audio_processing\aec3\vector_math_avx2.cc.obj /FdCMakeFiles\tg_owt_avx2.dir\ /FS -c C:\TBuild\Libraries\win64\tg_owt\src\modules\audio_processing\aec3\vector_math_avx2.cc
C:\TBuild\Libraries\win64\tg_owt\src\api/array_view.h(162): error C2676: binary '<<': 'rtc::webrtc_checks_impl::LogStreamer<>' does not define this operator or a conversion to a type acceptable to the built-in operator
C:\TBuild\Libraries\win64\tg_owt\src\rtc_base/checks.h(243): note: could be 'rtc::webrtc_checks_impl::LogStreamer<V> rtc::webrtc_checks_impl::LogStreamer<>::operator <<(const U &) const'
C:\TBuild\Libraries\win64\tg_owt\src\api/array_view.h(162): note: 'rtc::webrtc_checks_impl::LogStreamer<V> rtc::webrtc_checks_impl::LogStreamer<>::operator <<(const U &) const': could not deduce template argument for 'V'
C:\TBuild\Libraries\win64\tg_owt\src\rtc_base/checks.h(235): note: or       'rtc::webrtc_checks_impl::LogStreamer<V> rtc::webrtc_checks_impl::LogStreamer<>::operator <<(U) const'
C:\TBuild\Libraries\win64\tg_owt\src\api/array_view.h(162): note: 'rtc::webrtc_checks_impl::LogStreamer<V> rtc::webrtc_checks_impl::LogStreamer<>::operator <<(U) const': could not deduce template argument for 'V'
C:\TBuild\Libraries\win64\tg_owt\src\api/array_view.h(162): note: template instantiation context (oldest first)
C:\TBuild\Libraries\win64\tg_owt\src\modules/audio_processing/aec3/vector_math.h(63): note: compiling reference to template function 'rtc::ArrayView<float,-4711>::ArrayView<rtc::ArrayView<float,-4711>,0x0>(U &)'
        with
        [
            U=rtc::ArrayView<float,-4711>
        ]
C:\TBuild\Libraries\win64\tg_owt\src\modules/audio_processing/aec3/vector_math.h(63): note: see first reference to 'rtc::ArrayView<float,-4711>::ArrayView' in 'webrtc::aec3::VectorMath::Sqrt'
C:\TBuild\Libraries\win64\tg_owt\src\api/array_view.h(248): note: compiling reference to template function 'rtc::ArrayView<float,-4711>::ArrayView<T>(U *,size_t)'
        with
        [
            T=float,
            U=float
        ]
[51/1380] Building CXX object CMakeFiles\tg_owt_avx2.dir\s...ules\audio_processing\aec3\adaptive_fir_filter_avx2.cc.obj
FAILED: CMakeFiles/tg_owt_avx2.dir/src/modules/audio_processing/aec3/adaptive_fir_filter_avx2.cc.obj
C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1438~1.331\bin\Hostx64\x64\cl.exe  /nologo /TP -DABSL_ALLOCATOR_NOTHROW=1 -DBWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0 -DHAVE_SCTP -DHAVE_SSE2 -DHAVE_WEBRTC_VIDEO -DHAVE_WINDOWS_H -DHAVE_WINSOCK2_H -DHAVE_X86 -DNOMINMAX -DNO_MAIN_THREAD_WRAPPING -DRTC_DISABLE_TRACE_EVENTS -DRTC_ENABLE_H265 -DRTC_ENABLE_VP9 -DRTC_ENABLE_WIN_WGC -DWEBRTC_APM_DEBUG_DUMP=0 -DWEBRTC_DUMMY_AUDIO_BUILD -DWEBRTC_ENABLE_PROTOBUF=0 -DWEBRTC_HAVE_DCSCTP -DWEBRTC_HAVE_SCTP -DWEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE -DWEBRTC_LIBRARY_IMPL -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=1 -DWEBRTC_OPUS_SUPPORT_120MS_PTIME=1 -DWEBRTC_OPUS_VARIABLE_COMPLEXITY=0 -DWEBRTC_USE_BUILTIN_ISAC_FLOAT -DWEBRTC_USE_H264 -DWEBRTC_WIN -DWIN32_LEAN_AND_MEAN -IC:\TBuild\Libraries\win64\tg_owt\src -IC:\TBuild\Libraries\win64\tg_owt\src\third_party\libyuv\include -IC:\TBuild\Libraries\win64\tg_owt\src\third_party\abseil-cpp /DWIN32 /D_WINDOWS /GR /EHsc /Zi /Ob0 /Od /RTC1 -std:c++20 -MTd /W1 /wd4715 /wd4244 /wd4838 /wd4305 /wd4068 /wd5055 /MP /EHsc /arch:AVX2 /showIncludes /FoCMakeFiles\tg_owt_avx2.dir\src\modules\audio_processing\aec3\adaptive_fir_filter_avx2.cc.obj /FdCMakeFiles\tg_owt_avx2.dir\ /FS -c C:\TBuild\Libraries\win64\tg_owt\src\modules\audio_processing\aec3\adaptive_fir_filter_avx2.cc
C:\TBuild\Libraries\win64\tg_owt\src\rtc_base/checks.h(236): error C2440: '<function-style-cast>': cannot convert from 'initializer list' to 'rtc::webrtc_checks_impl::LogStreamer<rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kULongLong,unsigned __int64>>'
C:\TBuild\Libraries\win64\tg_owt\src\rtc_base/checks.h(236): note: 'rtc::webrtc_checks_impl::LogStreamer<rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kULongLong,unsigned __int64>>::LogStreamer': no overloaded function can convert all the argument types
C:\TBuild\Libraries\win64\tg_owt\src\rtc_base/checks.h(280): note: could be 'rtc::webrtc_checks_impl::LogStreamer<rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kULongLong,unsigned __int64>>::LogStreamer(T,const rtc::webrtc_checks_impl::LogStreamer<> *)'
        with
        [
            T=rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kULongLong,unsigned __int64>
        ]
C:\TBuild\Libraries\win64\tg_owt\src\rtc_base/checks.h(236): note: 'rtc::webrtc_checks_impl::LogStreamer<rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kULongLong,unsigned __int64>>::LogStreamer(T,const rtc::webrtc_checks_impl::LogStreamer<> *)': cannot convert argument 1 from 'rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kInt,int>' to 'T'
        with
        [
            T=rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kULongLong,unsigned __int64>
        ]
C:\TBuild\Libraries\win64\tg_owt\src\rtc_base/checks.h(236): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\TBuild\Libraries\win64\tg_owt\src\rtc_base/checks.h(236): note: while trying to match the argument list '(rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kInt,int>, const rtc::webrtc_checks_impl::LogStreamer<> *)'
C:\TBuild\Libraries\win64\tg_owt\src\rtc_base/checks.h(236): note: template instantiation context (oldest first)
C:\TBuild\Libraries\win64\tg_owt\src\modules/audio_processing/aec3/block_buffer.h(41): note: compiling reference to template function 'rtc::webrtc_checks_impl::LogStreamer<rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kULongLong,unsigned __int64>> rtc::webrtc_checks_impl::LogStreamer<>::operator <<<int,rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kULongLong,unsigned __int64>,0x0>(U) const'
        with
        [
            U=int
        ]
C:\TBuild\Libraries\win64\tg_owt\src\api/array_view.h(162): error C2676: binary '<<': 'rtc::webrtc_checks_impl::LogStreamer<>' does not define this operator or a conversion to a type acceptable to the built-in operator
C:\TBuild\Libraries\win64\tg_owt\src\rtc_base/checks.h(243): note: could be 'rtc::webrtc_checks_impl::LogStreamer<V> rtc::webrtc_checks_impl::LogStreamer<>::operator <<(const U &) const'
C:\TBuild\Libraries\win64\tg_owt\src\api/array_view.h(162): note: 'rtc::webrtc_checks_impl::LogStreamer<V> rtc::webrtc_checks_impl::LogStreamer<>::operator <<(const U &) const': could not deduce template argument for 'V'
C:\TBuild\Libraries\win64\tg_owt\src\rtc_base/checks.h(235): note: or       'rtc::webrtc_checks_impl::LogStreamer<V> rtc::webrtc_checks_impl::LogStreamer<>::operator <<(U) const'
C:\TBuild\Libraries\win64\tg_owt\src\api/array_view.h(162): note: 'rtc::webrtc_checks_impl::LogStreamer<V> rtc::webrtc_checks_impl::LogStreamer<>::operator <<(U) const': could not deduce template argument for 'V'
C:\TBuild\Libraries\win64\tg_owt\src\api/array_view.h(162): note: template instantiation context (oldest first)
C:\TBuild\Libraries\win64\tg_owt\src\modules/audio_processing/aec3/block.h(62): note: compiling reference to template function 'rtc::ArrayView<float,64>::ArrayView<_Ty>(U *,size_t)'
        with
        [
            _Ty=float,
            U=float
        ]
C:\TBuild\Libraries\win64\tg_owt\src\modules/audio_processing/aec3/block.h(62): note: see first reference to 'rtc::ArrayView<float,64>::ArrayView' in 'webrtc::Block::View'
C:\TBuild\Libraries\win64\tg_owt\src\rtc_base/checks.h(288): error C2440: '<function-style-cast>': cannot convert from 'initializer list' to 'rtc::webrtc_checks_impl::LogStreamer<rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kULongLong,unsigned __int64>,T>'
        with
        [
            T=rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kULongLong,unsigned __int64>
        ]
C:\TBuild\Libraries\win64\tg_owt\src\rtc_base/checks.h(288): note: 'rtc::webrtc_checks_impl::LogStreamer<rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kULongLong,unsigned __int64>,T>::LogStreamer': no overloaded function can convert all the argument types
        with
        [
            T=rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kULongLong,unsigned __int64>
        ]
C:\TBuild\Libraries\win64\tg_owt\src\rtc_base/checks.h(280): note: could be 'rtc::webrtc_checks_impl::LogStreamer<rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kULongLong,unsigned __int64>,T>::LogStreamer(T,const rtc::webrtc_checks_impl::LogStreamer<rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kULongLong,unsigned __int64>> *)'
        with
        [
            T=rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kULongLong,unsigned __int64>
        ]
C:\TBuild\Libraries\win64\tg_owt\src\rtc_base/checks.h(288): note: 'rtc::webrtc_checks_impl::LogStreamer<rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kULongLong,unsigned __int64>,T>::LogStreamer(T,const rtc::webrtc_checks_impl::LogStreamer<rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kULongLong,unsigned __int64>> *)': cannot convert argument 1 from 'rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kInt,int>' to 'T'
        with
        [
            T=rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kULongLong,unsigned __int64>
        ]
C:\TBuild\Libraries\win64\tg_owt\src\rtc_base/checks.h(288): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\TBuild\Libraries\win64\tg_owt\src\rtc_base/checks.h(288): note: while trying to match the argument list '(rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kInt,int>, const rtc::webrtc_checks_impl::LogStreamer<rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kULongLong,unsigned __int64>> *)'
C:\TBuild\Libraries\win64\tg_owt\src\rtc_base/checks.h(288): note: template instantiation context (oldest first)
C:\TBuild\Libraries\win64\tg_owt\src\modules/audio_processing/aec3/block_buffer.h(41): note: compiling reference to template function 'rtc::webrtc_checks_impl::LogStreamer<rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kULongLong,unsigned __int64>,T> rtc::webrtc_checks_impl::LogStreamer<rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kULongLong,unsigned __int64>>::operator <<<int,rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kULongLong,unsigned __int64>,0x0>(U) const'
        with
        [
            T=rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kULongLong,unsigned __int64>,
            U=int
        ]
C:\TBuild\Libraries\win64\tg_owt\src\modules/audio_processing/aec3/block_buffer.h(41): note: see first reference to 'rtc::webrtc_checks_impl::LogStreamer<rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kULongLong,unsigned __int64>>::operator <<' in 'webrtc::BlockBuffer::OffsetIndex'
[52/1380] Building CXX object CMakeFiles\tg_owt_avx2.dir\s...ules\audio_processing\agc2\rnn_vad\vector_math_avx2.cc.obj
FAILED: CMakeFiles/tg_owt_avx2.dir/src/modules/audio_processing/agc2/rnn_vad/vector_math_avx2.cc.obj
C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1438~1.331\bin\Hostx64\x64\cl.exe  /nologo /TP -DABSL_ALLOCATOR_NOTHROW=1 -DBWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0 -DHAVE_SCTP -DHAVE_SSE2 -DHAVE_WEBRTC_VIDEO -DHAVE_WINDOWS_H -DHAVE_WINSOCK2_H -DHAVE_X86 -DNOMINMAX -DNO_MAIN_THREAD_WRAPPING -DRTC_DISABLE_TRACE_EVENTS -DRTC_ENABLE_H265 -DRTC_ENABLE_VP9 -DRTC_ENABLE_WIN_WGC -DWEBRTC_APM_DEBUG_DUMP=0 -DWEBRTC_DUMMY_AUDIO_BUILD -DWEBRTC_ENABLE_PROTOBUF=0 -DWEBRTC_HAVE_DCSCTP -DWEBRTC_HAVE_SCTP -DWEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE -DWEBRTC_LIBRARY_IMPL -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=1 -DWEBRTC_OPUS_SUPPORT_120MS_PTIME=1 -DWEBRTC_OPUS_VARIABLE_COMPLEXITY=0 -DWEBRTC_USE_BUILTIN_ISAC_FLOAT -DWEBRTC_USE_H264 -DWEBRTC_WIN -DWIN32_LEAN_AND_MEAN -IC:\TBuild\Libraries\win64\tg_owt\src -IC:\TBuild\Libraries\win64\tg_owt\src\third_party\libyuv\include -IC:\TBuild\Libraries\win64\tg_owt\src\third_party\abseil-cpp /DWIN32 /D_WINDOWS /GR /EHsc /Zi /Ob0 /Od /RTC1 -std:c++20 -MTd /W1 /wd4715 /wd4244 /wd4838 /wd4305 /wd4068 /wd5055 /MP /EHsc /arch:AVX2 /showIncludes /FoCMakeFiles\tg_owt_avx2.dir\src\modules\audio_processing\agc2\rnn_vad\vector_math_avx2.cc.obj /FdCMakeFiles\tg_owt_avx2.dir\ /FS -c C:\TBuild\Libraries\win64\tg_owt\src\modules\audio_processing\agc2\rnn_vad\vector_math_avx2.cc
C:\TBuild\Libraries\win64\tg_owt\src\rtc_base/checks.h(236): error C2440: '<function-style-cast>': cannot convert from 'initializer list' to 'rtc::webrtc_checks_impl::LogStreamer<rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kULongLong,unsigned __int64>>'
C:\TBuild\Libraries\win64\tg_owt\src\rtc_base/checks.h(236): note: 'rtc::webrtc_checks_impl::LogStreamer<rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kULongLong,unsigned __int64>>::LogStreamer': no overloaded function can convert all the argument types
C:\TBuild\Libraries\win64\tg_owt\src\rtc_base/checks.h(280): note: could be 'rtc::webrtc_checks_impl::LogStreamer<rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kULongLong,unsigned __int64>>::LogStreamer(T,const rtc::webrtc_checks_impl::LogStreamer<> *)'
        with
        [
            T=rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kULongLong,unsigned __int64>
        ]
C:\TBuild\Libraries\win64\tg_owt\src\rtc_base/checks.h(236): note: 'rtc::webrtc_checks_impl::LogStreamer<rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kULongLong,unsigned __int64>>::LogStreamer(T,const rtc::webrtc_checks_impl::LogStreamer<> *)': cannot convert argument 1 from 'rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kInt,int>' to 'T'
        with
        [
            T=rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kULongLong,unsigned __int64>
        ]
C:\TBuild\Libraries\win64\tg_owt\src\rtc_base/checks.h(236): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\TBuild\Libraries\win64\tg_owt\src\rtc_base/checks.h(236): note: while trying to match the argument list '(rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kInt,int>, const rtc::webrtc_checks_impl::LogStreamer<> *)'
C:\TBuild\Libraries\win64\tg_owt\src\rtc_base/checks.h(236): note: template instantiation context (oldest first)
C:\TBuild\Libraries\win64\tg_owt\src\modules/audio_processing/agc2/rnn_vad/vector_math.h(56): note: compiling reference to template function 'rtc::webrtc_checks_impl::LogStreamer<rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kULongLong,unsigned __int64>> rtc::webrtc_checks_impl::LogStreamer<>::operator <<<int,rtc::webrtc_checks_impl::Val<rtc::webrtc_checks_impl::CheckArgType::kULongLong,unsigned __int64>,0x0>(U) const'
        with
        [
            U=int
        ]
[57/1380] Building CXX object CMakeFiles\libabsl.dir\src\third_party\abseil-cpp\absl\strings\cord.cc.obj
ninja: build stopped: subcommand failed.
[30/33](Libraries/tg_owt): FAILED
FAILED`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant