Closed xbunax closed 5 months ago
What shows up when you use:
$ whereis libmpv.so
What shows up when you use:
$ whereis libmpv.so
whereis libmpv.so
libmpv.so:
but I find the client.h
You didn't install the libmpv, try installing with the Macports, as the README suggests
$ sudo port install mpv +libmpv
You didn't install the libmpv, try installing with the Macports, as the README suggests
$ sudo port install mpv +libmpv
Yes, I try to use ports to install libmpv before submit the issue but the problem is still occured. And I still try to close the sound before complie this programe.
static const int SOUND = 0;
static const int NOISE = 0;
However , I'm still unable to complie this programe.
Password:
cc -std=c99 -Wall -Wextra -pedantic -Wunused-result -Wno-unused-variable -Os -D_ISOC99_SOURCE -DTOMATONOISE=\"/opt/local/bin/tomatonoise\" -DLOGPREFIX=\".local/share/tomato\" -DLOGFILE=\".local/share/tomato/tomato.log\" -DTMPFILE=\".local/share/tomato/tmp.log\" -DTIMERFILE=\".local/share/tomato/time.log\" -DNOTEPADFILE=\".local/share/tomato/notepad.log\" -I/opt/local/include -c -o input.o input.c
input.c:735:54: error: use of undeclared identifier 'BUTTON5_PRESSED'
if ((app->printVolume == 1) && (event.bstate & BUTTON5_PRESSED))
^
input.c:739:54: error: use of undeclared identifier 'BUTTON5_PRESSED'
if ((app->printVolume == 2) && (event.bstate & BUTTON5_PRESSED))
^
input.c:743:54: error: use of undeclared identifier 'BUTTON5_PRESSED'
if ((app->printVolume == 3) && (event.bstate & BUTTON5_PRESSED))
^
input.c:747:54: error: use of undeclared identifier 'BUTTON5_PRESSED'
if ((app->printVolume == 4) && (event.bstate & BUTTON5_PRESSED))
^
4 errors generated.
make: *** [input.o] Error 1
input.c:735:54: error: use of undeclared identifier 'BUTTON5_PRESSED'
if ((app->printVolume == 1) && (event.bstate & BUTTON5_PRESSED))
^
input.c:739:54: error: use of undeclared identifier 'BUTTON5_PRESSED'
if ((app->printVolume == 2) && (event.bstate & BUTTON5_PRESSED))
^
input.c:743:54: error: use of undeclared identifier 'BUTTON5_PRESSED'
if ((app->printVolume == 3) && (event.bstate & BUTTON5_PRESSED))
^
input.c:747:54: error: use of undeclared identifier 'BUTTON5_PRESSED'
if ((app->printVolume == 4) && (event.bstate & BUTTON5_PRESSED))
^
This look like a error with ncurses. What
$ whereis ncurses.h
says?
input.c:735:54: error: use of undeclared identifier 'BUTTON5_PRESSED' if ((app->printVolume == 1) && (event.bstate & BUTTON5_PRESSED)) ^ input.c:739:54: error: use of undeclared identifier 'BUTTON5_PRESSED' if ((app->printVolume == 2) && (event.bstate & BUTTON5_PRESSED)) ^ input.c:743:54: error: use of undeclared identifier 'BUTTON5_PRESSED' if ((app->printVolume == 3) && (event.bstate & BUTTON5_PRESSED)) ^ input.c:747:54: error: use of undeclared identifier 'BUTTON5_PRESSED' if ((app->printVolume == 4) && (event.bstate & BUTTON5_PRESSED)) ^
This look like a error with ncurses. What
$ whereis ncurses.h
says?
whereis ncurses.h ncurses.h:
I have use brew to install ncurses and add into env path and pkgconfig path.
Try using MacPorts instead too:
$ sudo port install ncurses
Try using MacPorts instead too:
$ sudo port install ncurses
I don't want to use macports, so I use docker install this successfully. Thanks to your help.
Oh! my bad, I hadn't realized that you don't want to use MacPorts. Does the docker install goes all right?
Oh! my bad, I hadn't realized that you don't want to use MacPorts. Does the docker install goes all right?
Yes,It works well without sound , but this is enough for me. Thanks , you are kindly.
I use brew to install mpv and set the
PKG_CONFIG_PATH
inzshrc
but it's still unable to complie.I try to use macports but the same problem still happens. This is my system info