[MacPorts] #69522: Problem to have acces to the libmpv in MacOs
MacPorts
noreply at macports.org
Sat Mar 16 22:36:55 UTC 2024
#69522: Problem to have acces to the libmpv in MacOs
-----------------------------+--------------------
Reporter: gabrielzschmitz | Owner: (none)
Type: defect | Status: new
Priority: High | Milestone:
Component: ports | Version: 2.9.1
Keywords: libmpv library | Port: mpv
-----------------------------+--------------------
Can't really include the mpv library at any .c file (even adding the
+libmpv variant)! Here's a real exemple:
```shell
$ sudo make install
cc -std=c99 -Wall -Wextra -pedantic -Wunused-result -Wno-unused-variable
-Os -D_POSIX_C_SOURCE -DTOMATONOISE=\"/usr/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/usr/local/include
-L/usr/local/lib tomatonoise.c `pkg-config --libs ncursesw mpv` -o
tomatonoise
tomatonoise.c:1:10: fatal error: 'mpv/client.h' file not found
#include <mpv/client.h>
^~~~~~~~~~~~~~
1 error generated.
make: *** [tomatonoise] Error 1
Error: Process completed with exit code 2.
```
--
Ticket URL: <https://trac.macports.org/ticket/69522>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list