Hello,
I'm trying to compile this for controlling the livekit-server that I plan to use as part of my matrix installation.
I get a lot of compilation errors with go build ./cmd/lk:
# github.com/livekit/livekit-cli/v2/pkg/apm/webrtc/api/task_queue
In file included from pending_task_safety_flag.cc:11:
In file included from pkg/apm/webrtc/api/task_queue/../../api/task_queue/pending_task_safety_flag.h:20:
In file included from pkg/apm/webrtc/api/task_queue/../../api/sequence_checker.h:15:
In file included from pkg/apm/webrtc/api/task_queue/../../rtc_base/synchronization/sequence_checker_internal.h:17:
pkg/apm/webrtc/api/task_queue/../../rtc_base/platform_thread_types.h:49:1: error: unknown type name 'PlatformThreadId'
pkg/apm/webrtc/api/task_queue/../../rtc_base/platform_thread_types.h:54:1: error: unknown type name 'PlatformThreadRef'
pkg/apm/webrtc/api/task_queue/../../rtc_base/platform_thread_types.h:57:29: error: unknown type name 'PlatformThreadRef'
pkg/apm/webrtc/api/task_queue/../../rtc_base/platform_thread_types.h:57:57: error: unknown type name 'PlatformThreadRef'
In file included from pending_task_safety_flag.cc:11:
In file included from pkg/apm/webrtc/api/task_queue/../../api/task_queue/pending_task_safety_flag.h:20:
In file included from pkg/apm/webrtc/api/task_queue/../../api/sequence_checker.h:15:
In file included from pkg/apm/webrtc/api/task_queue/../../rtc_base/synchronization/sequence_checker_internal.h:18:
pkg/apm/webrtc/api/task_queue/../../rtc_base/synchronization/mutex.h:27:2: error: Unsupported platform.
pkg/apm/webrtc/api/task_queue/../../rtc_base/synchronization/mutex.h:51:3: error: unknown type name 'MutexImpl'
In file included from pending_task_safety_flag.cc:11:
In file included from pkg/apm/webrtc/api/task_queue/../../api/task_queue/pending_task_safety_flag.h:20:
In file included from pkg/apm/webrtc/api/task_queue/../../api/sequence_checker.h:15:
pkg/apm/webrtc/api/task_queue/../../rtc_base/synchronization/sequence_checker_internal.h:52:11: error: unknown type name 'PlatformThreadRef'
pkg/apm/webrtc/api/task_queue/../../rtc_base/synchronization/sequence_checker_internal.h:52:43: warning: attribute guarded_by ignored, because it is not attached to a declaration [-Wignored-attributes]
pkg/apm/webrtc/api/task_queue/../../rtc_base/thread_annotations.h:31:71: note: expanded from macro 'RTC_GUARDED_BY'
# github.com/livekit/livekit-cli/v2/pkg/apm/webrtc/api/audio
In file included from channel_layout.cc:17:
In file included from pkg/apm/webrtc/api/audio/../../rtc_base/logging.h:65:
pkg/apm/webrtc/api/audio/../../rtc_base/platform_thread_types.h:49:1: error: unknown type name 'PlatformThreadId'
pkg/apm/webrtc/api/audio/../../rtc_base/platform_thread_types.h:54:1: error: unknown type name 'PlatformThreadRef'
pkg/apm/webrtc/api/audio/../../rtc_base/platform_thread_types.h:57:29: error: unknown type name 'PlatformThreadRef'
pkg/apm/webrtc/api/audio/../../rtc_base/platform_thread_types.h:57:57: error: unknown type name 'PlatformThreadRef'
In file included from channel_layout.cc:17:
pkg/apm/webrtc/api/audio/../../rtc_base/logging.h:123:17: error: use of undeclared identifier 'PlatformThreadId'
pkg/apm/webrtc/api/audio/../../rtc_base/logging.h:139:36: error: use of undeclared identifier 'PlatformThreadId'
pkg/apm/webrtc/api/audio/../../rtc_base/logging.h:149:17: error: use of undeclared identifier 'PlatformThreadId'
# github.com/livekit/livekit-cli/v2/pkg/apm/webrtc/api
In file included from field_trials_registry.cc:19:
In file included from pkg/apm/webrtc/api/../rtc_base/logging.h:65:
pkg/apm/webrtc/api/../rtc_base/platform_thread_types.h:49:1: error: unknown type name 'PlatformThreadId'
pkg/apm/webrtc/api/../rtc_base/platform_thread_types.h:54:1: error: unknown type name 'PlatformThreadRef'
pkg/apm/webrtc/api/../rtc_base/platform_thread_types.h:57:29: error: unknown type name 'PlatformThreadRef'
pkg/apm/webrtc/api/../rtc_base/platform_thread_types.h:57:57: error: unknown type name 'PlatformThreadRef'
In file included from field_trials_registry.cc:19:
pkg/apm/webrtc/api/../rtc_base/logging.h:123:17: error: use of undeclared identifier 'PlatformThreadId'
pkg/apm/webrtc/api/../rtc_base/logging.h:139:36: error: use of undeclared identifier 'PlatformThreadId'
pkg/apm/webrtc/api/../rtc_base/logging.h:149:17: error: use of undeclared identifier 'PlatformThreadId'
# github.com/livekit/livekit-cli/v2/pkg/apm/webrtc/common_audio/resampler
In file included from resampler.cc:22:
In file included from pkg/apm/webrtc/common_audio/resampler/../../rtc_base/logging.h:65:
pkg/apm/webrtc/common_audio/resampler/../../rtc_base/platform_thread_types.h:49:1: error: unknown type name 'PlatformThreadId'
pkg/apm/webrtc/common_audio/resampler/../../rtc_base/platform_thread_types.h:54:1: error: unknown type name 'PlatformThreadRef'
pkg/apm/webrtc/common_audio/resampler/../../rtc_base/platform_thread_types.h:57:29: error: unknown type name 'PlatformThreadRef'
pkg/apm/webrtc/common_audio/resampler/../../rtc_base/platform_thread_types.h:57:57: error: unknown type name 'PlatformThreadRef'
In file included from resampler.cc:22:
pkg/apm/webrtc/common_audio/resampler/../../rtc_base/logging.h:123:17: error: use of undeclared identifier 'PlatformThreadId'
pkg/apm/webrtc/common_audio/resampler/../../rtc_base/logging.h:139:36: error: use of undeclared identifier 'PlatformThreadId'
pkg/apm/webrtc/common_audio/resampler/../../rtc_base/logging.h:149:17: error: use of undeclared identifier 'PlatformThreadId'
# github.com/livekit/livekit-cli/v2/pkg/apm/webrtc/api/audio
In file included from echo_canceller3_factory.cc:19:
In file included from pkg/apm/webrtc/api/audio/../../modules/audio_processing/aec3/echo_canceller3.h:36:
In file included from pkg/apm/webrtc/api/audio/../../rtc_base/race_checker.h:15:
pkg/apm/webrtc/api/audio/../../rtc_base/platform_thread_types.h:49:1: error: unknown type name 'PlatformThreadId'
pkg/apm/webrtc/api/audio/../../rtc_base/platform_thread_types.h:54:1: error: unknown type name 'PlatformThreadRef'
pkg/apm/webrtc/api/audio/../../rtc_base/platform_thread_types.h:57:29: error: unknown type name 'PlatformThreadRef'
pkg/apm/webrtc/api/audio/../../rtc_base/platform_thread_types.h:57:57: error: unknown type name 'PlatformThreadRef'
In file included from echo_canceller3_factory.cc:19:
In file included from pkg/apm/webrtc/api/audio/../../modules/audio_processing/aec3/echo_canceller3.h:36:
pkg/apm/webrtc/api/audio/../../rtc_base/race_checker.h:37:20: error: unknown type name 'PlatformThreadRef'
echo_canceller3_factory.cc:38:10: error: no viable conversion from returned value of type 'unique_ptr<webrtc::EchoCanceller3>' to function return type 'unique_ptr<EchoControl>'
/usr/include/c++/v1/__memory/unique_ptr.h:138:59: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'typename __unique_if<EchoCanceller3>::__unique_single' (aka 'unique_ptr<webrtc::EchoCanceller3>') to 'const unique_ptr<EchoControl> &' for 1st argument
/usr/include/c++/v1/__memory/unique_ptr.h:195:43: note: candidate constructor template not viable: no known conversion from 'typename __unique_if<EchoCanceller3>::__unique_single' (aka 'unique_ptr<webrtc::EchoCanceller3>') to 'nullptr_t' (aka 'std::nullptr_t') for 1st argument
/usr/include/c++/v1/__memory/unique_ptr.h:215:55: note: candidate constructor not viable: no known conversion from 'typename __unique_if<EchoCanceller3>::__unique_single' (aka 'unique_ptr<webrtc::EchoCanceller3>') to 'unique_ptr<EchoControl> &&' for 1st argument
/usr/include/c++/v1/__memory/unique_ptr.h:222:55: note: candidate template ignored: requirement 'is_convertible<webrtc::EchoCanceller3 *, webrtc::EchoControl *>::value' was not satisfied [with _Up = webrtc::EchoCanceller3, _Ep = std::default_delete<webrtc::EchoCanceller3>]
/usr/include/c++/v1/__memory/unique_ptr.h:200:42: note: explicit constructor is not a candidate
# github.com/livekit/livekit-cli/v2/pkg/apm/webrtc/api/audio
In file included from builtin_audio_processing_builder.cc:19:
In file included from pkg/apm/webrtc/api/audio/../../modules/audio_processing/audio_processing_impl.h:31:
In file included from pkg/apm/webrtc/api/audio/../../modules/audio_processing/aec3/echo_canceller3.h:36:
In file included from pkg/apm/webrtc/api/audio/../../rtc_base/race_checker.h:15:
pkg/apm/webrtc/api/audio/../../rtc_base/platform_thread_types.h:49:1: error: unknown type name 'PlatformThreadId'
pkg/apm/webrtc/api/audio/../../rtc_base/platform_thread_types.h:54:1: error: unknown type name 'PlatformThreadRef'
pkg/apm/webrtc/api/audio/../../rtc_base/platform_thread_types.h:57:29: error: unknown type name 'PlatformThreadRef'
pkg/apm/webrtc/api/audio/../../rtc_base/platform_thread_types.h:57:57: error: unknown type name 'PlatformThreadRef'
In file included from builtin_audio_processing_builder.cc:19:
In file included from pkg/apm/webrtc/api/audio/../../modules/audio_processing/audio_processing_impl.h:31:
In file included from pkg/apm/webrtc/api/audio/../../modules/audio_processing/aec3/echo_canceller3.h:36:
pkg/apm/webrtc/api/audio/../../rtc_base/race_checker.h:37:20: error: unknown type name 'PlatformThreadRef'
In file included from builtin_audio_processing_builder.cc:19:
In file included from pkg/apm/webrtc/api/audio/../../modules/audio_processing/audio_processing_impl.h:48:
pkg/apm/webrtc/api/audio/../../rtc_base/synchronization/mutex.h:27:2: error: Unsupported platform.
pkg/apm/webrtc/api/audio/../../rtc_base/synchronization/mutex.h:51:3: error: unknown type name 'MutexImpl'
In file included from builtin_audio_processing_builder.cc:19:
pkg/apm/webrtc/api/audio/../../modules/audio_processing/audio_processing_impl.h:357:31: warning: attribute acquired_before ignored, because it is not attached to a declaration [-Wignored-attributes]
pkg/apm/webrtc/api/audio/../../rtc_base/thread_annotations.h:49:52: note: expanded from macro 'RTC_ACQUIRED_BEFORE'
In file included from builtin_audio_processing_builder.cc:10:
In file included from pkg/apm/webrtc/api/audio/../../api/audio/builtin_audio_processing_builder.h:18:
In file included from pkg/apm/webrtc/api/audio/../../api/audio/audio_processing.h:32:
In file included from pkg/apm/webrtc/api/audio/../../api/array_view.h:20:
In file included from pkg/apm/webrtc/api/audio/../../rtc_base/checks.h:62:
pkg/apm/webrtc/api/audio/../../api/scoped_refptr.h:101:50: error: cannot initialize a member subobject of type 'webrtc::AudioProcessing *' with an rvalue of type 'webrtc::FinalRefCountedObject<webrtc::AudioProcessingImpl> *'
builtin_audio_processing_builder.cc:25:10: note: in instantiation of function template specialization 'webrtc::scoped_refptr<webrtc::AudioProcessing>::scoped_refptr<webrtc::FinalRefCountedObject<webrtc::AudioProcessingImpl>>' requested here
# github.com/livekit/livekit-cli/v2/pkg/apm/webrtc/modules/audio_processing/aec3
In file included from block_processor.cc:31:
In file included from pkg/apm/webrtc/modules/audio_processing/aec3/../../../rtc_base/logging.h:65:
pkg/apm/webrtc/modules/audio_processing/aec3/../../../rtc_base/platform_thread_types.h:49:1: error: unknown type name 'PlatformThreadId'
pkg/apm/webrtc/modules/audio_processing/aec3/../../../rtc_base/platform_thread_types.h:54:1: error: unknown type name 'PlatformThreadRef'
pkg/apm/webrtc/modules/audio_processing/aec3/../../../rtc_base/platform_thread_types.h:57:29: error: unknown type name 'PlatformThreadRef'
pkg/apm/webrtc/modules/audio_processing/aec3/../../../rtc_base/platform_thread_types.h:57:57: error: unknown type name 'PlatformThreadRef'
In file included from block_processor.cc:31:
pkg/apm/webrtc/modules/audio_processing/aec3/../../../rtc_base/logging.h:123:17: error: use of undeclared identifier 'PlatformThreadId'
pkg/apm/webrtc/modules/audio_processing/aec3/../../../rtc_base/logging.h:139:36: error: use of undeclared identifier 'PlatformThreadId'
pkg/apm/webrtc/modules/audio_processing/aec3/../../../rtc_base/logging.h:149:17: error: use of undeclared identifier 'PlatformThreadId'
# github.com/livekit/livekit-cli/v2/pkg/apm/webrtc/modules/audio_processing/aec3
In file included from echo_canceller3.cc:10:
In file included from pkg/apm/webrtc/modules/audio_processing/aec3/../../../modules/audio_processing/aec3/echo_canceller3.h:36:
In file included from pkg/apm/webrtc/modules/audio_processing/aec3/../../../rtc_base/race_checker.h:15:
pkg/apm/webrtc/modules/audio_processing/aec3/../../../rtc_base/platform_thread_types.h:49:1: error: unknown type name 'PlatformThreadId'
pkg/apm/webrtc/modules/audio_processing/aec3/../../../rtc_base/platform_thread_types.h:54:1: error: unknown type name 'PlatformThreadRef'
pkg/apm/webrtc/modules/audio_processing/aec3/../../../rtc_base/platform_thread_types.h:57:29: error: unknown type name 'PlatformThreadRef'
pkg/apm/webrtc/modules/audio_processing/aec3/../../../rtc_base/platform_thread_types.h:57:57: error: unknown type name 'PlatformThreadRef'
In file included from echo_canceller3.cc:10:
In file included from pkg/apm/webrtc/modules/audio_processing/aec3/../../../modules/audio_processing/aec3/echo_canceller3.h:36:
pkg/apm/webrtc/modules/audio_processing/aec3/../../../rtc_base/race_checker.h:37:20: error: unknown type name 'PlatformThreadRef'
In file included from echo_canceller3.cc:37:
pkg/apm/webrtc/modules/audio_processing/aec3/../../../rtc_base/logging.h:123:17: error: use of undeclared identifier 'PlatformThreadId'
pkg/apm/webrtc/modules/audio_processing/aec3/../../../rtc_base/logging.h:139:36: error: use of undeclared identifier 'PlatformThreadId'
pkg/apm/webrtc/modules/audio_processing/aec3/../../../rtc_base/logging.h:149:17: error: use of undeclared identifier 'PlatformThreadId'
# github.com/livekit/livekit-cli/v2/pkg/apm/webrtc/modules/audio_processing/aec3
In file included from echo_remover.cc:39:
In file included from pkg/apm/webrtc/modules/audio_processing/aec3/../../../rtc_base/logging.h:65:
pkg/apm/webrtc/modules/audio_processing/aec3/../../../rtc_base/platform_thread_types.h:49:1: error: unknown type name 'PlatformThreadId'
pkg/apm/webrtc/modules/audio_processing/aec3/../../../rtc_base/platform_thread_types.h:54:1: error: unknown type name 'PlatformThreadRef'
pkg/apm/webrtc/modules/audio_processing/aec3/../../../rtc_base/platform_thread_types.h:57:29: error: unknown type name 'PlatformThreadRef'
pkg/apm/webrtc/modules/audio_processing/aec3/../../../rtc_base/platform_thread_types.h:57:57: error: unknown type name 'PlatformThreadRef'
In file included from echo_remover.cc:39:
pkg/apm/webrtc/modules/audio_processing/aec3/../../../rtc_base/logging.h:123:17: error: use of undeclared identifier 'PlatformThreadId'
pkg/apm/webrtc/modules/audio_processing/aec3/../../../rtc_base/logging.h:139:36: error: use of undeclared identifier 'PlatformThreadId'
pkg/apm/webrtc/modules/audio_processing/aec3/../../../rtc_base/logging.h:149:17: error: use of undeclared identifier 'PlatformThreadId'
# github.com/livekit/livekit-cli/v2/pkg/apm/webrtc/modules/audio_processing/aec3
In file included from matched_filter.cc:34:
In file included from pkg/apm/webrtc/modules/audio_processing/aec3/../../../rtc_base/logging.h:65:
pkg/apm/webrtc/modules/audio_processing/aec3/../../../rtc_base/platform_thread_types.h:49:1: error: unknown type name 'PlatformThreadId'
pkg/apm/webrtc/modules/audio_processing/aec3/../../../rtc_base/platform_thread_types.h:54:1: error: unknown type name 'PlatformThreadRef'
pkg/apm/webrtc/modules/audio_processing/aec3/../../../rtc_base/platform_thread_types.h:57:29: error: unknown type name 'PlatformThreadRef'
pkg/apm/webrtc/modules/audio_processing/aec3/../../../rtc_base/platform_thread_types.h:57:57: error: unknown type name 'PlatformThreadRef'
In file included from matched_filter.cc:34:
pkg/apm/webrtc/modules/audio_processing/aec3/../../../rtc_base/logging.h:123:17: error: use of undeclared identifier 'PlatformThreadId'
pkg/apm/webrtc/modules/audio_processing/aec3/../../../rtc_base/logging.h:139:36: error: use of undeclared identifier 'PlatformThreadId'
pkg/apm/webrtc/modules/audio_processing/aec3/../../../rtc_base/logging.h:149:17: error: use of undeclared identifier 'PlatformThreadId'
# github.com/livekit/livekit-cli/v2/pkg/apm/webrtc/modules/audio_processing/aec3
In file included from render_delay_buffer.cc:37:
In file included from pkg/apm/webrtc/modules/audio_processing/aec3/../../../rtc_base/logging.h:65:
pkg/apm/webrtc/modules/audio_processing/aec3/../../../rtc_base/platform_thread_types.h:49:1: error: unknown type name 'PlatformThreadId'
pkg/apm/webrtc/modules/audio_processing/aec3/../../../rtc_base/platform_thread_types.h:54:1: error: unknown type name 'PlatformThreadRef'
pkg/apm/webrtc/modules/audio_processing/aec3/../../../rtc_base/platform_thread_types.h:57:29: error: unknown type name 'PlatformThreadRef'
pkg/apm/webrtc/modules/audio_processing/aec3/../../../rtc_base/platform_thread_types.h:57:57: error: unknown type name 'PlatformThreadRef'
In file included from render_delay_buffer.cc:37:
pkg/apm/webrtc/modules/audio_processing/aec3/../../../rtc_base/logging.h:123:17: error: use of undeclared identifier 'PlatformThreadId'
pkg/apm/webrtc/modules/audio_processing/aec3/../../../rtc_base/logging.h:139:36: error: use of undeclared identifier 'PlatformThreadId'
pkg/apm/webrtc/modules/audio_processing/aec3/../../../rtc_base/logging.h:149:17: error: use of undeclared identifier 'PlatformThreadId'
# github.com/livekit/livekit-cli/v2/pkg/apm/webrtc/modules/audio_processing/aec3
In file included from transparent_mode.cc:16:
In file included from pkg/apm/webrtc/modules/audio_processing/aec3/../../../rtc_base/logging.h:65:
pkg/apm/webrtc/modules/audio_processing/aec3/../../../rtc_base/platform_thread_types.h:49:1: error: unknown type name 'PlatformThreadId'
pkg/apm/webrtc/modules/audio_processing/aec3/../../../rtc_base/platform_thread_types.h:54:1: error: unknown type name 'PlatformThreadRef'
pkg/apm/webrtc/modules/audio_processing/aec3/../../../rtc_base/platform_thread_types.h:57:29: error: unknown type name 'PlatformThreadRef'
pkg/apm/webrtc/modules/audio_processing/aec3/../../../rtc_base/platform_thread_types.h:57:57: error: unknown type name 'PlatformThreadRef'
In file included from transparent_mode.cc:16:
pkg/apm/webrtc/modules/audio_processing/aec3/../../../rtc_base/logging.h:123:17: error: use of undeclared identifier 'PlatformThreadId'
pkg/apm/webrtc/modules/audio_processing/aec3/../../../rtc_base/logging.h:139:36: error: use of undeclared identifier 'PlatformThreadId'
pkg/apm/webrtc/modules/audio_processing/aec3/../../../rtc_base/logging.h:149:17: error: use of undeclared identifier 'PlatformThreadId'
# github.com/livekit/livekit-cli/v2/pkg/apm/webrtc/modules/audio_processing/agc
In file included from agc_manager_direct.cc:25:
In file included from pkg/apm/webrtc/modules/audio_processing/agc/../../../rtc_base/logging.h:65:
pkg/apm/webrtc/modules/audio_processing/agc/../../../rtc_base/platform_thread_types.h:49:1: error: unknown type name 'PlatformThreadId'
pkg/apm/webrtc/modules/audio_processing/agc/../../../rtc_base/platform_thread_types.h:54:1: error: unknown type name 'PlatformThreadRef'
pkg/apm/webrtc/modules/audio_processing/agc/../../../rtc_base/platform_thread_types.h:57:29: error: unknown type name 'PlatformThreadRef'
pkg/apm/webrtc/modules/audio_processing/agc/../../../rtc_base/platform_thread_types.h:57:57: error: unknown type name 'PlatformThreadRef'
In file included from agc_manager_direct.cc:25:
pkg/apm/webrtc/modules/audio_processing/agc/../../../rtc_base/logging.h:123:17: error: use of undeclared identifier 'PlatformThreadId'
pkg/apm/webrtc/modules/audio_processing/agc/../../../rtc_base/logging.h:139:36: error: use of undeclared identifier 'PlatformThreadId'
pkg/apm/webrtc/modules/audio_processing/agc/../../../rtc_base/logging.h:149:17: error: use of undeclared identifier 'PlatformThreadId'
# github.com/livekit/livekit-cli/v2/pkg/apm/webrtc/modules/audio_processing/agc2
In file included from adaptive_digital_gain_controller.cc:19:
In file included from pkg/apm/webrtc/modules/audio_processing/agc2/../../../rtc_base/logging.h:65:
pkg/apm/webrtc/modules/audio_processing/agc2/../../../rtc_base/platform_thread_types.h:49:1: error: unknown type name 'PlatformThreadId'
pkg/apm/webrtc/modules/audio_processing/agc2/../../../rtc_base/platform_thread_types.h:54:1: error: unknown type name 'PlatformThreadRef'
pkg/apm/webrtc/modules/audio_processing/agc2/../../../rtc_base/platform_thread_types.h:57:29: error: unknown type name 'PlatformThreadRef'
pkg/apm/webrtc/modules/audio_processing/agc2/../../../rtc_base/platform_thread_types.h:57:57: error: unknown type name 'PlatformThreadRef'
In file included from adaptive_digital_gain_controller.cc:19:
pkg/apm/webrtc/modules/audio_processing/agc2/../../../rtc_base/logging.h:123:17: error: use of undeclared identifier 'PlatformThreadId'
pkg/apm/webrtc/modules/audio_processing/agc2/../../../rtc_base/logging.h:139:36: error: use of undeclared identifier 'PlatformThreadId'
pkg/apm/webrtc/modules/audio_processing/agc2/../../../rtc_base/logging.h:149:17: error: use of undeclared identifier 'PlatformThreadId'
# github.com/livekit/livekit-cli/v2/pkg/apm/webrtc/modules/audio_processing/agc2
In file included from clipping_predictor.cc:20:
In file included from pkg/apm/webrtc/modules/audio_processing/agc2/../../../rtc_base/logging.h:65:
pkg/apm/webrtc/modules/audio_processing/agc2/../../../rtc_base/platform_thread_types.h:49:1: error: unknown type name 'PlatformThreadId'
pkg/apm/webrtc/modules/audio_processing/agc2/../../../rtc_base/platform_thread_types.h:54:1: error: unknown type name 'PlatformThreadRef'
pkg/apm/webrtc/modules/audio_processing/agc2/../../../rtc_base/platform_thread_types.h:57:29: error: unknown type name 'PlatformThreadRef'
pkg/apm/webrtc/modules/audio_processing/agc2/../../../rtc_base/platform_thread_types.h:57:57: error: unknown type name 'PlatformThreadRef'
In file included from clipping_predictor.cc:20:
pkg/apm/webrtc/modules/audio_processing/agc2/../../../rtc_base/logging.h:123:17: error: use of undeclared identifier 'PlatformThreadId'
pkg/apm/webrtc/modules/audio_processing/agc2/../../../rtc_base/logging.h:139:36: error: use of undeclared identifier 'PlatformThreadId'
pkg/apm/webrtc/modules/audio_processing/agc2/../../../rtc_base/logging.h:149:17: error: use of undeclared identifier 'PlatformThreadId'
# github.com/livekit/livekit-cli/v2/pkg/apm/webrtc/modules/audio_processing/agc2
In file included from clipping_predictor_level_buffer.cc:17:
In file included from pkg/apm/webrtc/modules/audio_processing/agc2/../../../rtc_base/logging.h:65:
pkg/apm/webrtc/modules/audio_processing/agc2/../../../rtc_base/platform_thread_types.h:49:1: error: unknown type name 'PlatformThreadId'
pkg/apm/webrtc/modules/audio_processing/agc2/../../../rtc_base/platform_thread_types.h:54:1: error: unknown type name 'PlatformThreadRef'
pkg/apm/webrtc/modules/audio_processing/agc2/../../../rtc_base/platform_thread_types.h:57:29: error: unknown type name 'PlatformThreadRef'
pkg/apm/webrtc/modules/audio_processing/agc2/../../../rtc_base/platform_thread_types.h:57:57: error: unknown type name 'PlatformThreadRef'
In file included from clipping_predictor_level_buffer.cc:17:
pkg/apm/webrtc/modules/audio_processing/agc2/../../../rtc_base/logging.h:123:17: error: use of undeclared identifier 'PlatformThreadId'
pkg/apm/webrtc/modules/audio_processing/agc2/../../../rtc_base/logging.h:139:36: error: use of undeclared identifier 'PlatformThreadId'
pkg/apm/webrtc/modules/audio_processing/agc2/../../../rtc_base/logging.h:149:17: error: use of undeclared identifier 'PlatformThreadId'
# github.com/livekit/livekit-cli/v2/pkg/apm/webrtc/modules/audio_processing/agc2
In file included from input_volume_stats_reporter.cc:16:
In file included from pkg/apm/webrtc/modules/audio_processing/agc2/../../../rtc_base/logging.h:65:
pkg/apm/webrtc/modules/audio_processing/agc2/../../../rtc_base/platform_thread_types.h:49:1: error: unknown type name 'PlatformThreadId'
pkg/apm/webrtc/modules/audio_processing/agc2/../../../rtc_base/platform_thread_types.h:54:1: error: unknown type name 'PlatformThreadRef'
pkg/apm/webrtc/modules/audio_processing/agc2/../../../rtc_base/platform_thread_types.h:57:29: error: unknown type name 'PlatformThreadRef'
pkg/apm/webrtc/modules/audio_processing/agc2/../../../rtc_base/platform_thread_types.h:57:57: error: unknown type name 'PlatformThreadRef'
In file included from input_volume_stats_reporter.cc:16:
pkg/apm/webrtc/modules/audio_processing/agc2/../../../rtc_base/logging.h:123:17: error: use of undeclared identifier 'PlatformThreadId'
pkg/apm/webrtc/modules/audio_processing/agc2/../../../rtc_base/logging.h:139:36: error: use of undeclared identifier 'PlatformThreadId'
pkg/apm/webrtc/modules/audio_processing/agc2/../../../rtc_base/logging.h:149:17: error: use of undeclared identifier 'PlatformThreadId'
# github.com/livekit/livekit-cli/v2/pkg/apm/webrtc/modules/audio_processing/agc2
In file included from input_volume_controller.cc:21:
In file included from pkg/apm/webrtc/modules/audio_processing/agc2/../../../rtc_base/logging.h:65:
pkg/apm/webrtc/modules/audio_processing/agc2/../../../rtc_base/platform_thread_types.h:49:1: error: unknown type name 'PlatformThreadId'
pkg/apm/webrtc/modules/audio_processing/agc2/../../../rtc_base/platform_thread_types.h:54:1: error: unknown type name 'PlatformThreadRef'
pkg/apm/webrtc/modules/audio_processing/agc2/../../../rtc_base/platform_thread_types.h:57:29: error: unknown type name 'PlatformThreadRef'
pkg/apm/webrtc/modules/audio_processing/agc2/../../../rtc_base/platform_thread_types.h:57:57: error: unknown type name 'PlatformThreadRef'
In file included from input_volume_controller.cc:21:
pkg/apm/webrtc/modules/audio_processing/agc2/../../../rtc_base/logging.h:123:17: error: use of undeclared identifier 'PlatformThreadId'
pkg/apm/webrtc/modules/audio_processing/agc2/../../../rtc_base/logging.h:139:36: error: use of undeclared identifier 'PlatformThreadId'
pkg/apm/webrtc/modules/audio_processing/agc2/../../../rtc_base/logging.h:149:17: error: use of undeclared identifier 'PlatformThreadId'
# github.com/livekit/livekit-cli/v2/pkg/apm/webrtc/modules/audio_processing/agc2
In file included from speech_level_estimator.cc:16:
In file included from pkg/apm/webrtc/modules/audio_processing/agc2/../../../rtc_base/logging.h:65:
pkg/apm/webrtc/modules/audio_processing/agc2/../../../rtc_base/platform_thread_types.h:49:1: error: unknown type name 'PlatformThreadId'
pkg/apm/webrtc/modules/audio_processing/agc2/../../../rtc_base/platform_thread_types.h:54:1: error: unknown type name 'PlatformThreadRef'
pkg/apm/webrtc/modules/audio_processing/agc2/../../../rtc_base/platform_thread_types.h:57:29: error: unknown type name 'PlatformThreadRef'
pkg/apm/webrtc/modules/audio_processing/agc2/../../../rtc_base/platform_thread_types.h:57:57: error: unknown type name 'PlatformThreadRef'
In file included from speech_level_estimator.cc:16:
pkg/apm/webrtc/modules/audio_processing/agc2/../../../rtc_base/logging.h:123:17: error: use of undeclared identifier 'PlatformThreadId'
pkg/apm/webrtc/modules/audio_processing/agc2/../../../rtc_base/logging.h:139:36: error: use of undeclared identifier 'PlatformThreadId'
pkg/apm/webrtc/modules/audio_processing/agc2/../../../rtc_base/logging.h:149:17: error: use of undeclared identifier 'PlatformThreadId'
# github.com/livekit/livekit-cli/v2/pkg/apm/webrtc/rtc_base/synchronization
In file included from sequence_checker_internal.cc:10:
In file included from pkg/apm/webrtc/rtc_base/synchronization/../../rtc_base/synchronization/sequence_checker_internal.h:17:
pkg/apm/webrtc/rtc_base/synchronization/../../rtc_base/platform_thread_types.h:49:1: error: unknown type name 'PlatformThreadId'
pkg/apm/webrtc/rtc_base/synchronization/../../rtc_base/platform_thread_types.h:54:1: error: unknown type name 'PlatformThreadRef'
pkg/apm/webrtc/rtc_base/synchronization/../../rtc_base/platform_thread_types.h:57:29: error: unknown type name 'PlatformThreadRef'
pkg/apm/webrtc/rtc_base/synchronization/../../rtc_base/platform_thread_types.h:57:57: error: unknown type name 'PlatformThreadRef'
In file included from sequence_checker_internal.cc:10:
In file included from pkg/apm/webrtc/rtc_base/synchronization/../../rtc_base/synchronization/sequence_checker_internal.h:18:
pkg/apm/webrtc/rtc_base/synchronization/../../rtc_base/synchronization/mutex.h:27:2: error: Unsupported platform.
pkg/apm/webrtc/rtc_base/synchronization/../../rtc_base/synchronization/mutex.h:51:3: error: unknown type name 'MutexImpl'
In file included from sequence_checker_internal.cc:10:
pkg/apm/webrtc/rtc_base/synchronization/../../rtc_base/synchronization/sequence_checker_internal.h:52:11: error: unknown type name 'PlatformThreadRef'
pkg/apm/webrtc/rtc_base/synchronization/../../rtc_base/synchronization/sequence_checker_internal.h:52:43: warning: attribute guarded_by ignored, because it is not attached to a declaration [-Wignored-attributes]
pkg/apm/webrtc/rtc_base/synchronization/../../rtc_base/thread_annotations.h:31:71: note: expanded from macro 'RTC_GUARDED_BY'
sequence_checker_internal.cc:30:21: error: use of undeclared identifier 'PlatformThreadRef'
sequence_checker_internal.cc:35:9: error: unknown type name 'PlatformThreadRef'
# github.com/livekit/livekit-cli/v2/pkg/apm/webrtc/system_wrappers/source
In file included from cpu_info.cc:26:
In file included from pkg/apm/webrtc/system_wrappers/source/../../rtc_base/logging.h:65:
pkg/apm/webrtc/system_wrappers/source/../../rtc_base/platform_thread_types.h:49:1: error: unknown type name 'PlatformThreadId'
pkg/apm/webrtc/system_wrappers/source/../../rtc_base/platform_thread_types.h:54:1: error: unknown type name 'PlatformThreadRef'
pkg/apm/webrtc/system_wrappers/source/../../rtc_base/platform_thread_types.h:57:29: error: unknown type name 'PlatformThreadRef'
pkg/apm/webrtc/system_wrappers/source/../../rtc_base/platform_thread_types.h:57:57: error: unknown type name 'PlatformThreadRef'
In file included from cpu_info.cc:26:
pkg/apm/webrtc/system_wrappers/source/../../rtc_base/logging.h:123:17: error: use of undeclared identifier 'PlatformThreadId'
pkg/apm/webrtc/system_wrappers/source/../../rtc_base/logging.h:139:36: error: use of undeclared identifier 'PlatformThreadId'
pkg/apm/webrtc/system_wrappers/source/../../rtc_base/logging.h:149:17: error: use of undeclared identifier 'PlatformThreadId'
# github.com/livekit/livekit-cli/v2/pkg/apm/webrtc/rtc_base/experiments
In file included from field_trial_parser.cc:21:
In file included from pkg/apm/webrtc/rtc_base/experiments/../../rtc_base/logging.h:65:
pkg/apm/webrtc/rtc_base/experiments/../../rtc_base/platform_thread_types.h:49:1: error: unknown type name 'PlatformThreadId'
pkg/apm/webrtc/rtc_base/experiments/../../rtc_base/platform_thread_types.h:54:1: error: unknown type name 'PlatformThreadRef'
pkg/apm/webrtc/rtc_base/experiments/../../rtc_base/platform_thread_types.h:57:29: error: unknown type name 'PlatformThreadRef'
pkg/apm/webrtc/rtc_base/experiments/../../rtc_base/platform_thread_types.h:57:57: error: unknown type name 'PlatformThreadRef'
In file included from field_trial_parser.cc:21:
pkg/apm/webrtc/rtc_base/experiments/../../rtc_base/logging.h:123:17: error: use of undeclared identifier 'PlatformThreadId'
pkg/apm/webrtc/rtc_base/experiments/../../rtc_base/logging.h:139:36: error: use of undeclared identifier 'PlatformThreadId'
pkg/apm/webrtc/rtc_base/experiments/../../rtc_base/logging.h:149:17: error: use of undeclared identifier 'PlatformThreadId'
# github.com/livekit/livekit-cli/v2/pkg/apm/webrtc/system_wrappers/source
In file included from metrics.cc:23:
pkg/apm/webrtc/system_wrappers/source/../../rtc_base/synchronization/mutex.h:27:2: error: Unsupported platform.
pkg/apm/webrtc/system_wrappers/source/../../rtc_base/synchronization/mutex.h:51:3: error: unknown type name 'MutexImpl'
# github.com/livekit/livekit-cli/v2/pkg/apm/webrtc/system_wrappers/source
In file included from rtp_to_ntp_estimator.cc:20:
In file included from pkg/apm/webrtc/system_wrappers/source/../../rtc_base/logging.h:65:
pkg/apm/webrtc/system_wrappers/source/../../rtc_base/platform_thread_types.h:49:1: error: unknown type name 'PlatformThreadId'
pkg/apm/webrtc/system_wrappers/source/../../rtc_base/platform_thread_types.h:54:1: error: unknown type name 'PlatformThreadRef'
pkg/apm/webrtc/system_wrappers/source/../../rtc_base/platform_thread_types.h:57:29: error: unknown type name 'PlatformThreadRef'
pkg/apm/webrtc/system_wrappers/source/../../rtc_base/platform_thread_types.h:57:57: error: unknown type name 'PlatformThreadRef'
In file included from rtp_to_ntp_estimator.cc:20:
pkg/apm/webrtc/system_wrappers/source/../../rtc_base/logging.h:123:17: error: use of undeclared identifier 'PlatformThreadId'
pkg/apm/webrtc/system_wrappers/source/../../rtc_base/logging.h:139:36: error: use of undeclared identifier 'PlatformThreadId'
pkg/apm/webrtc/system_wrappers/source/../../rtc_base/logging.h:149:17: error: use of undeclared identifier 'PlatformThreadId'
# github.com/livekit/livekit-cli/v2/pkg/apm/webrtc/system_wrappers/source
In file included from field_trial.cc:24:
In file included from pkg/apm/webrtc/system_wrappers/source/../../rtc_base/logging.h:65:
pkg/apm/webrtc/system_wrappers/source/../../rtc_base/platform_thread_types.h:49:1: error: unknown type name 'PlatformThreadId'
pkg/apm/webrtc/system_wrappers/source/../../rtc_base/platform_thread_types.h:54:1: error: unknown type name 'PlatformThreadRef'
pkg/apm/webrtc/system_wrappers/source/../../rtc_base/platform_thread_types.h:57:29: error: unknown type name 'PlatformThreadRef'
pkg/apm/webrtc/system_wrappers/source/../../rtc_base/platform_thread_types.h:57:57: error: unknown type name 'PlatformThreadRef'
In file included from field_trial.cc:24:
pkg/apm/webrtc/system_wrappers/source/../../rtc_base/logging.h:123:17: error: use of undeclared identifier 'PlatformThreadId'
pkg/apm/webrtc/system_wrappers/source/../../rtc_base/logging.h:139:36: error: use of undeclared identifier 'PlatformThreadId'
pkg/apm/webrtc/system_wrappers/source/../../rtc_base/logging.h:149:17: error: use of undeclared identifier 'PlatformThreadId'
Just for good measure, the packages webrtc-audio-processing portaudio webrtc-audio-processing2 are installed.
Was this tool never intended to be used under FreeBSD?
Hello,
I'm trying to compile this for controlling the livekit-server that I plan to use as part of my matrix installation.
I get a lot of compilation errors with
go build ./cmd/lk:Just for good measure, the packages
webrtc-audio-processing portaudio webrtc-audio-processing2are installed.Was this tool never intended to be used under FreeBSD?