Opened 6 months ago

Last modified 6 months ago

#69522 assigned enhancement

Problem to have acces to the libmpv in MacOs — at Version 1

Reported by: gabrielzschmitz (Gabriel dos Santos Schmitz) Owned by: Ionic (Mihai Moldovan)
Priority: Normal Milestone:
Component: ports Version: 2.9.1
Keywords: Cc: i0ntempest
Port: mpv

Description (last modified by jmroot (Joshua Root))

Can't really include the mpv library at any .c file (even adding the +libmpv variant)! Here's a real exemple:

$ 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.

Change History (1)

comment:1 Changed 6 months ago by jmroot (Joshua Root)

Cc: i0ntempest added
Description: modified (diff)
Keywords: libmpv library removed
Owner: set to Ionic
Priority: HighNormal
Status: newassigned
Note: See TracTickets for help on using tickets.