Skip to content

pipewire API issue #110

@jwinarske

Description

@jwinarske

Hitting build error with recent pipewire


| FAILED: obj/modules/video_capture/video_capture_internal_impl/pipewire_session.o
| ../../third_party/llvm-build/Release+Asserts/bin/clang++ -MD -MF obj/modules/video_capture/video_capture_internal_impl/pipewire_session.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_OZONE=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-1\" -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS -DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b -DCR_SYSROOT_KEY=20230611T210420Z-2 -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_ENABLE_LIBEVENT -DWEBRTC_ARCH_ARM64 -DWEBRTC_HAS_NEON -DWEBRTC_LIBRARY_IMPL -DWEBRTC_ENABLE_AVX2 -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0 -DWEBRTC_POSIX -DWEBRTC_LINUX -DABSL_ALLOCATOR_NOTHROW=1 -DWEBRTC_USE_PIPEWIRE -DWEBRTC_USE_GIO -DLIBYUV_DISABLE_LSX -DLIBYUV_DISABLE_LASX -I../.. -Igen -I../../buildtools/third_party/libc++ -I../../third_party/abseil-cpp -I../../third_party/libyuv/include -Wall -Wextra -Wimplicit-fallthrough -Wextra-semi -Wunreachable-code-aggressive -Wthread-safety -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -Wloop-analysis -Wno-unneeded-internal-declaration -Wno-cast-function-type -Wno-ignored-pragma-optimize -Wno-deprecated-builtins -Wno-bitfield-constant-conversion -Wno-deprecated-this-capture -Wno-invalid-offsetof -Wno-vla-extension -Wno-thread-safety-reference-return -Wshadow -Werror -fno-delete-null-pointer-checks -fno-ident -fno-strict-aliasing -fstack-protector -funwind-tables -fPIC -pthread -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 -mllvm -split-threshold-for-reg-with-hint=0 -ffp-contract=off -fcomplete-member-pointers -mbranch-protection=standard --target=aarch64-linux-gnu -mno-outline -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -ffile-compilation-dir=. -no-canonical-prefixes -ftrivial-auto-var-init=pattern -O2 -fdata-sections -ffunction-sections -fno-unique-section-names -fno-math-errno -fno-omit-frame-pointer -g0 -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wexit-time-destructors -Wglobal-constructors -Wno-shadow -Wctad-maybe-unsupported -Wc++11-narrowing -Wundef -Wunused-lambda-capture -isystem/__w/meta-flutter/master-linux-dummy/build/tmp/work/cortexa57-poky-linux/libwebrtc/125.6422.06/recipe-sysroot/usr/include/gio-unix-2.0 -isystem/__w/meta-flutter/master-linux-dummy/build/tmp/work/cortexa57-poky-linux/libwebrtc/125.6422.06/recipe-sysroot/usr/include/libmount -isystem/__w/meta-flutter/master-linux-dummy/build/tmp/work/cortexa57-poky-linux/libwebrtc/125.6422.06/recipe-sysroot/usr/include/blkid -isystem/__w/meta-flutter/master-linux-dummy/build/tmp/work/cortexa57-poky-linux/libwebrtc/125.6422.06/recipe-sysroot/usr/include/glib-2.0 -isystem/__w/meta-flutter/master-linux-dummy/build/tmp/work/cortexa57-poky-linux/libwebrtc/125.6422.06/recipe-sysroot/usr/lib/glib-2.0/include -D_REENTRANT -isystem/__w/meta-flutter/master-linux-dummy/build/tmp/work/cortexa57-poky-linux/libwebrtc/125.6422.06/recipe-sysroot/usr/include/pipewire-0.3 -isystem/__w/meta-flutter/master-linux-dummy/build/tmp/work/cortexa57-poky-linux/libwebrtc/125.6422.06/recipe-sysroot/usr/include/spa-0.2 -Wenum-compare-conditional -Wno-c++11-narrowing-const-reference -std=c++17 -Wno-trigraphs -gsimple-template-names -fno-exceptions -nostdinc++ -isystem../../third_party/libc++/src/include -isystem../../third_party/libc++abi/src/include --sysroot=../../../../recipe-sysroot -fvisibility-inlines-hidden -Wnon-virtual-dtor -Woverloaded-virtual -c ../../modules/video_capture/linux/pipewire_session.cc -o obj/modules/video_capture/video_capture_internal_impl/pipewire_session.o
| ../../modules/video_capture/linux/pipewire_session.cc:63:3: error: no matching function for call to 'pw_node_add_listener'
|    63 |   pw_node_add_listener(proxy_, &node_listener_, &node_events, this);
|       |   ^~~~~~~~~~~~~~~~~~~~
| /__w/meta-flutter/master-linux-dummy/build/tmp/work/cortexa57-poky-linux/libwebrtc/125.6422.06/recipe-sysroot/usr/include/pipewire-0.3/pipewire/node.h:189:22: note: candidate function not viable: cannot convert argument of incomplete type 'pw_proxy *' to 'struct pw_node *' for 1st argument
|   189 | PW_API_NODE_IMPL int pw_node_add_listener(struct pw_node *object,
|       |                      ^                    ~~~~~~~~~~~~~~~~~~~~~~
| ../../modules/video_capture/linux/pipewire_session.cc:97:9: error: no matching function for call to 'pw_node_enum_params'
|    97 |         pw_node_enum_params(that->proxy_, 0, id, 0, UINT32_MAX, nullptr);
|       |         ^~~~~~~~~~~~~~~~~~~
| /__w/meta-flutter/master-linux-dummy/build/tmp/work/cortexa57-poky-linux/libwebrtc/125.6422.06/recipe-sysroot/usr/include/pipewire-0.3/pipewire/node.h:208:22: note: candidate function not viable: cannot convert argument of incomplete type 'pw_proxy *' to 'struct pw_node *' for 1st argument
|   208 | PW_API_NODE_IMPL int pw_node_enum_params(struct pw_node *object,
|       |                      ^                   ~~~~~~~~~~~~~~~~~~~~~~
| 2 errors generated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions