TzuHuanTai / RaspberryPi-WebRTC

Turn your Raspberry Pi into a low-latency home security camera by using native WebRTC with the v4l2 hardware H.264 encoder and the software-based OpenH264 encoder for live video stream.
Apache License 2.0
784 stars 32 forks source link

ERROR at //base/allocator/partition_allocator/partition_alloc.gni:41:44: Undefined identifier #203

Open zoldaten opened 3 weeks ago

zoldaten commented 3 weeks ago
pi@pi:~/lib/webrtc-checkout/src $ gn gen out/Release64 --args='target_os="linux" target_cpu="arm64" is_debug=true rtc_include_tests=false rtc_use_x11=false rtc_use_h264=true rtc_use_pipewire=false use_rtti=true use_glib=false use_custom_libcxx=false rtc_build_tools=false rtc_build_examples=false is_component_build=false is_component_ffmpeg=true ffmpeg_branding="Chrome" proprietary_codecs=true clang_use_chrome_plugins=false'
ERROR at //base/allocator/partition_allocator/partition_alloc.gni:41:44: Undefined identifier
    current_cpu == "arm64" && is_clang && !is_asan && (is_linux || is_android)
                                           ^------
See //base/allocator/allocator.gni:5:1: whence it was imported.
import("//base/allocator/partition_allocator/partition_alloc.gni")
^----------------------------------------------------------------
See //base/BUILD.gn:20:1: whence it was imported.
import("//base/allocator/allocator.gni")
^--------------------------------------
See //base/test/BUILD.gn:36:5: which caused the file to be included.
    "//base",
    ^-------

how to fix that ?