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

ERROR: no member named 'streamer_get_playing_track_safe' in 'DB_functions_t'; #9

Open
38github opened this issue Jun 6, 2024 · 0 comments

Comments

@38github
Copy link

38github commented Jun 6, 2024

$ meson setup builddir
The Meson build system
Version: 1.4.0
Source dir: /tmp/ddb_output_pw-main
Build dir: /tmp/ddb_output_pw-main/builddir
Build type: native build
Project name: ddb_output_pw
Project version: 0.1
C compiler for the host machine: clang (clang 17.0.6 "clang version 17.0.6")
C linker for the host machine: clang ld.bfd 2.41
Host machine cpu family: aarch64
Host machine cpu: aarch64
Has header "deadbeef/deadbeef.h" : YES 
Found pkg-config: YES (/usr/bin/pkg-config) 0.29.2
Run-time dependency libpipewire-0.3 found: YES 1.0.7
Build targets in project: 1

Found ninja-1.11.1 at /usr/bin/ninja
[user@rpi5-void ddb_output_pw-main]$ meson compile -C builddir
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: /usr/bin/ninja -C /tmp/ddb_output_pw-main/builddir
ninja: Entering directory `/tmp/ddb_output_pw-main/builddir'
[1/2] Compiling C object ddb_out_pw.so.p/pw.c.o
FAILED: ddb_out_pw.so.p/pw.c.o 
clang -Iddb_out_pw.so.p -I. -I.. -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -g -DDDBPW_DEBUG -DPW_ENABLE_DEPRECATED -O1 -flto -fopenmp-simd -pthread -mcpu=native -fPIC -D_REENTRANT -MD -MQ ddb_out_pw.so.p/pw.c.o -MF ddb_out_pw.so.p/pw.c.o.d -o ddb_out_pw.so.p/pw.c.o -c ../pw.c
../pw.c:295:27: error: no member named 'streamer_get_playing_track_safe' in 'DB_functions_t'; did you mean 'streamer_get_playing_track'?
  295 |         track = deadbeef->streamer_get_playing_track_safe();
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                           streamer_get_playing_track
/usr/include/deadbeef/deadbeef.h:784:22: note: 'streamer_get_playing_track' declared here
  784 |     DB_playItem_t *(*streamer_get_playing_track) (void);
      |                      ^
1 error generated.
ninja: build stopped: subcommand failed.
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

1 participant