Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: libvmaf >= 1.3.9 not found using pkg-config #1139

Closed
vdvisa opened this issue Mar 18, 2019 · 12 comments
Closed

ERROR: libvmaf >= 1.3.9 not found using pkg-config #1139

vdvisa opened this issue Mar 18, 2019 · 12 comments

Comments

@vdvisa
Copy link

vdvisa commented Mar 18, 2019

Hi, I downloaded vmaf library from https://github.com/Netflix/vmaf and followed instructions to install the libvmaf.a. Then downloaded the latest ffmpeg code and using

./configure --enable-debug=1 --disable-asm --enable-libvmaf --enable-version3 --disable-optimizations

to configure, but see an error:

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

@1480c1
Copy link
Member

1480c1 commented Mar 18, 2019

Why are you compiling vmaf and ffmpeg separate from the suite? vmaf is already included in the suite and compiling outside of the suite is outside the scope of this suite and if you really want to, it would be better to take this to a forum or to libvmaf.

If you really want to, you can run mintty at the root of the suite with

source /build/media-suite_helper.sh
do_vcs "https://github.com/Netflix/vmaf.git"
make clean
do_make INSTALL_PREFIX="$LOCALDESTDIR"
do_makeinstall INSTALL_PREFIX="$LOCALDESTDIR"

@vdvisa
Copy link
Author

vdvisa commented Mar 18, 2019

I tried to use the FFMPEG suite only and the above configure command still gives the same error.

@1480c1
Copy link
Member

1480c1 commented Mar 18, 2019

Using the bat? If so please post the logs.zip, else can you put your full commands?

@wiiaboo
Copy link
Member

wiiaboo commented Mar 19, 2019

Or at the very least, FFmpeg's config.log. Otherwise, you're just wasting everyone's time.

@vdvisa
Copy link
Author

vdvisa commented Mar 19, 2019

config.log

@vdvisa
Copy link
Author

vdvisa commented Mar 19, 2019

The above is the ffbuild/config.log with the ffmpeg suite and configure command

./configure --enable-debug=1 --disable-asm --enable-libvmaf --enable-version3 --disable-optimizations

@1480c1
Copy link
Member

1480c1 commented Mar 19, 2019

WARNING: pkg-config not found, library detection may fail.
Can you run pacboy -S pkg-config:x if 64bit and pacboy -S pkg-config:i if 32bit

@1480c1
Copy link
Member

1480c1 commented Mar 19, 2019

see if pkg-config is actually installed.

@1480c1
Copy link
Member

1480c1 commented Mar 19, 2019

Are you running this from a mac.

@1480c1
Copy link
Member

1480c1 commented Mar 19, 2019

If from a mac, run brew install pkg-config

@vdvisa
Copy link
Author

vdvisa commented Mar 19, 2019

Perfect, installing this pkg-config worked. I am able to configure now.

Thanks you so much for the help.

@wiiaboo wiiaboo closed this as completed Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants