Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
* [FFmpeg-devel] configure error: pkg not found even though it is available
@ 2022-01-26  7:25 Helmut K. C. Tessarek
  2022-01-26  7:36 ` Gyan Doshi
  0 siblings, 1 reply; 5+ messages in thread
From: Helmut K. C. Tessarek @ 2022-01-26  7:25 UTC (permalink / raw)
  To: FFmpeg development discussions and patches

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hello,

I compile the static binaries for macOS and just got a configure error:

ERROR: libvmaf >= 2.0.0 not found using pkg-config

The file looks as follows:

$ cat libvmaf.pc
prefix=/Users/Shared/ffmpeg/sw
libdir=${prefix}/lib
includedir=${prefix}/include

Name: libvmaf
Description: VMAF, Video Multimethod Assessment Fusion
Version: 2.3.0
Libs: -L${libdir} -lvmaf -lm
Cflags: -I${includedir} -I${includedir}/libvmaf

And the library also exists in the lib directory.

The full config.log is here: https://evermeet.cx/pub/tmp/config.log

This commit broke it: 3d29724c00

Cheers,
  K. C.

- -- 
regards Helmut K. C. Tessarek              KeyID 0x172380A011EF4944
Key fingerprint = 8A55 70C1 BD85 D34E ADBC 386C 1723 80A0 11EF 4944

/*
   Thou shalt not follow the NULL pointer for chaos and madness
   await thee at its end.
*/
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE191csiqpm8f5Ln9WvgmFNJ1E3QAFAmHw94cACgkQvgmFNJ1E
3QBHOxAAsb5hqhnHZb9pGAaln+DywL/YgnCUsvpgMGIqHPdi6aa2/ivcuuuXtVjv
Bi0+JevJ8FkDcNGjhjy0bz1zeV1iVqkRTk+rpGgHI1v9XlTCVE/Jxtx9//F8J8cj
fpVFSp13Dy2LCDGLC5CNHhAMKJ8hamFskF0D0W47E1ICW8nGa/1F4Dm8RHKnvMiz
OodBHuWl3aejojQSrNDh1jYDi11pFIscSCQviiZWghYFjswPnRCIy93PfWUcKOZD
06GhLJv2QXCXJmKbrc2i/fupdw0jUF0bdAYLWBxR29pBd+ug0Ler0StZslp2Jnc2
kwmqcioO8HCokC4p1CjhWrPVKjpgXmJ1ZHhHcNJFTnOFQKmNeVgOGU2jLaaaTrIb
+KWXUsgF9c1HR4IX2Uy/BWbDDpsGHvbdDkmq0ZOTE80h1IiQNttN7Z3fL4wj26ys
RqPT69DlvIC/Z6F9vt5uTIg+Y5hLWDOShVVZ44ZEJ/1DPfOBvWHZMzPROeSSKWXd
eG3TkWpQ5TcZD80Pdh/IM0GtHCUFWJMbW/aZXpZ3enrmcxlOl4+hfJ7kFnDXGyuT
be7sTmx+BnrvxDha6xrsU+Ami0NI9B/UfBDMM9Diqn9tmtusPu3SqTRc94ln5O6F
zuTeEd8gYtvZ5XYkiFGIcum/kN3WxLGUWxIdybPWQCnp6qRzBvo=
=eINl
-----END PGP SIGNATURE-----
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [FFmpeg-devel] configure error: pkg not found even though it is available
  2022-01-26  7:25 [FFmpeg-devel] configure error: pkg not found even though it is available Helmut K. C. Tessarek
@ 2022-01-26  7:36 ` Gyan Doshi
  2022-01-26  7:57   ` Helmut K. C. Tessarek
  0 siblings, 1 reply; 5+ messages in thread
From: Gyan Doshi @ 2022-01-26  7:36 UTC (permalink / raw)
  To: ffmpeg-devel



On 2022-01-26 12:55 pm, Helmut K. C. Tessarek wrote:
> Hello,
>
> I compile the static binaries for macOS and just got a configure error:
>
> ERROR: libvmaf >= 2.0.0 not found using pkg-config
>
> The file looks as follows:
>
> $ cat libvmaf.pc
> prefix=/Users/Shared/ffmpeg/sw
> libdir=${prefix}/lib
> includedir=${prefix}/include
>
> Name: libvmaf
> Description: VMAF, Video Multimethod Assessment Fusion
> Version: 2.3.0
> Libs: -L${libdir} -lvmaf -lm
> Cflags: -I${includedir} -I${includedir}/libvmaf
>
> And the library also exists in the lib directory.
>
> The full config.log is here: https://evermeet.cx/pub/tmp/config.log

Specific error is

     error: use of undeclared identifier 'vmaf_init'

The filter includes  <libvmaf.h>

Confirm that /Users/Shared/ffmpeg/sw/include/libvmaf  has current header 
which declares vmaf_init()

> This commit broke it: 3d29724c00

It builds here.

Regards,
Gyan
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [FFmpeg-devel] configure error: pkg not found even though it is available
  2022-01-26  7:36 ` Gyan Doshi
@ 2022-01-26  7:57   ` Helmut K. C. Tessarek
  2022-01-26  8:00     ` Gyan Doshi
  0 siblings, 1 reply; 5+ messages in thread
From: Helmut K. C. Tessarek @ 2022-01-26  7:57 UTC (permalink / raw)
  To: FFmpeg development discussions and patches, Gyan Doshi

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512


On 2022-01-26 02:36, Gyan Doshi wrote:
> Confirm that /Users/Shared/ffmpeg/sw/include/libvmaf  has current header
> which declares vmaf_init()

Yes, the header file exists in the directory and the function vmaf_init() is
declared.

The vmaf version commit hash is aa1dd0b3. I compiled this version right
before ffmpeg and all libvmaf files have the correct timestamp (todays).

I can only say that the compile run worked a few days ago.

Cheers,
  K. C.

P.S.: Heading to bed. Will be up in 5-6 hours.


- -- 
regards Helmut K. C. Tessarek              KeyID 0x172380A011EF4944
Key fingerprint = 8A55 70C1 BD85 D34E ADBC 386C 1723 80A0 11EF 4944

/*
   Thou shalt not follow the NULL pointer for chaos and madness
   await thee at its end.
*/
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE191csiqpm8f5Ln9WvgmFNJ1E3QAFAmHw/wUACgkQvgmFNJ1E
3QAJ+g/+KD2+s5BMjr3UkZL+qkBqt7wV5DpZ84U3q9DvO1UnBlUnTKh5FT+3Zu6t
CY13bcQimYtRB9TPGvJ95mTUSMlNIOK4wTCEqumlfwuy5Me7fTZfnv34gNLDSucd
izJL6CG/G6om9prROgVQFMsEizunEFBJnWmSxq+GZsj0VOm0HKHYLmMik0VZmt4N
tnVF5uX2NXZGG9he028KUgw3bIj0+v70lewzSPYwcbn+NVK5V3dV4pGK8l76HwMR
1VOOnB9qUdEbZ3+1kEESJ0X9YqbF26Yv/8xb2L/2NW6v4adQUAr97ARuPuMFglMF
jdBLJR3jOgOJ+HNezQy0ml0L/Xc7sHxCVhbgmg0CoLIsNQIFmjyt7Nv2zHhK/USy
Kxp7iddH3K62emQbLx68CLthBJMYJJqcPPZ7ujA5JS3Yuaatqq4JehcBI6mxwlzm
7moE8XzG6M8HQJsQCDAIt/a7IvguiAp/Gm7P9u6n9idgUlUmZxn2Sr7HejCn5unY
ZB5sx/uVnyyIAEHVNFgDUNKHv6aWzov02s87PjHGdM3THLJpyZZ9zJumvzXw5Xsn
USLQ/4FTZumNBWbDmHzyFjwaTC/yXjWNCtUmKJyQOMD2m0lJUHOfvlWMWR++yfTp
1SNfEeoApW5ZSkxLdCm55BzQ0uGtpbP1QfeA9tyQTRPZBxXbrxI=
=s28/
-----END PGP SIGNATURE-----
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [FFmpeg-devel] configure error: pkg not found even though it is available
  2022-01-26  7:57   ` Helmut K. C. Tessarek
@ 2022-01-26  8:00     ` Gyan Doshi
  2022-01-26 20:38       ` Helmut K. C. Tessarek
  0 siblings, 1 reply; 5+ messages in thread
From: Gyan Doshi @ 2022-01-26  8:00 UTC (permalink / raw)
  To: Helmut K. C. Tessarek, FFmpeg development discussions and patches



On 2022-01-26 01:27 pm, Helmut K. C. Tessarek wrote:
>
> On 2022-01-26 02:36, Gyan Doshi wrote:
> > Confirm that /Users/Shared/ffmpeg/sw/include/libvmaf  has current header
> > which declares vmaf_init()
>
> Yes, the header file exists in the directory and the function 
> vmaf_init() is
> declared.
>
> The vmaf version commit hash is aa1dd0b3. I compiled this version right
> before ffmpeg and all libvmaf files have the correct timestamp (todays).

Might there be a stale header in an cflags path with earlier precedence?

Regards,
Gyan
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [FFmpeg-devel] configure error: pkg not found even though it is available
  2022-01-26  8:00     ` Gyan Doshi
@ 2022-01-26 20:38       ` Helmut K. C. Tessarek
  0 siblings, 0 replies; 5+ messages in thread
From: Helmut K. C. Tessarek @ 2022-01-26 20:38 UTC (permalink / raw)
  To: FFmpeg development discussions and patches, Gyan Doshi

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512



On 2022-01-26 03:00, Gyan Doshi wrote:
> Might there be a stale header in an cflags path with earlier precedence?

Argh, why haven't I thought of that. It was way too late for me yesterday
and apparently I couldn't think straight anymore.

Sorry for the noise. Yes, there was an old header file in the folder above.
Sometimes I wish that "make install" would take care of such things.

Once again, I am sorry.

Cheers,
 K. C.

- -- 
regards Helmut K. C. Tessarek              KeyID 0x172380A011EF4944
Key fingerprint = 8A55 70C1 BD85 D34E ADBC 386C 1723 80A0 11EF 4944

/*
   Thou shalt not follow the NULL pointer for chaos and madness
   await thee at its end.
*/
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE191csiqpm8f5Ln9WvgmFNJ1E3QAFAmHxsSoACgkQvgmFNJ1E
3QDc/Q/+KeXHbDzKEJGPvjSZvKmsnZWHdPYcNdD5N54E79SOeR98memswXTdUYuZ
f1jXNGaJ9BR2RJXahOcOW9XOfOdAZcI+f79RvIuI9lnOpfmt5y6popPMBZuovgzh
3D+h7X6oTFj6J8VtdSGgnc4MQ1Po0KPeqUYwUCsv3/Nef6DDSi3hW5sQIF/K0dyv
gAVwyrcGLW9VQqNxiPLT5CUcqElXMJnBDsRBoY8+BUt/l9CCjRMkdsIxXmP+gjvd
t5COmf7UlYeMyOy5EdFltdl/rBX22320NTLrcK3pbIY9kc16b7yVJiVVviaKQxnT
6zGmQiaxm9e88wH35/DJbI9UK9KNRneG+FOVeLByYIhF9HAltPKdGNNstSAABiIS
9ljQ6W2sz1GWXj6W7FGxt6kEEnoWQ6gQ92B4h6Y4oN/4cY4bSBEX2PHRMPTP2Xto
+FN5pPl2goFjznvZlcyJT0+MHdCSL3YoDqMP6EyiUD/JstqQL7gxWBKckkMoTs+7
PA0jfkGkyE5JZF9oGZi9ghqVfofws0K+mh3uIMulqrQv2thQ4OowyU8alF+yAI98
PKYPQmtb+o3k+iRpySlA/l8Pf5Sz+S03mrrskoPermOCPjagHSJhRjMHLrCFNWy5
pti6Whtx1TqbJQYlBTVV3nvoxtHc5dNCPs4bI9S9rk5bwxdmCUs=
=a5F4
-----END PGP SIGNATURE-----
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-01-26 20:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-26  7:25 [FFmpeg-devel] configure error: pkg not found even though it is available Helmut K. C. Tessarek
2022-01-26  7:36 ` Gyan Doshi
2022-01-26  7:57   ` Helmut K. C. Tessarek
2022-01-26  8:00     ` Gyan Doshi
2022-01-26 20:38       ` Helmut K. C. Tessarek

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git