Opened 6 months ago
Last modified 6 months ago
#69522 assigned enhancement
Problem to have acces to the libmpv in MacOs — at Initial Version
Reported by: | gabrielzschmitz (Gabriel dos Santos Schmitz) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.9.1 |
Keywords: | Cc: | ||
Port: | mpv |
Description
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.
`