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

./configure fails due to ffmpeg version #6

Closed
Avagenzo opened this issue Sep 5, 2019 · 3 comments
Closed

./configure fails due to ffmpeg version #6

Avagenzo opened this issue Sep 5, 2019 · 3 comments

Comments

@Avagenzo
Copy link

Avagenzo commented Sep 5, 2019

Output on Ubuntu 18.04:

*** Configuring image hash ***

checking CImg.h usability... no
checking CImg.h presence... no
checking for CImg.h... no
checking whether CImg.h is in the current or src directory.... no

*** Configuring video Hash ***

checking whether FFmpeg is present... checking for avcodec_alloc_frame in -lavcodec... no
configure: error:

*** libavcodec not found.
You need FFmpeg. Get it at <http://ffmpeg.org/>

Seems like its not compatible to ffmpeg version:
[(https://stackoverflow.com/questions/30107520/error-installing-phash-on-ubuntu)]

FFmpeg is definitely installed under /usr/local/bin. Do you know how to fix this?

@Avagenzo
Copy link
Author

Avagenzo commented Sep 5, 2019

Or could you at least mention the version of ffmpeg PHash is compatible with ?

@aetilius
Copy link
Owner

aetilius commented Sep 5, 2019

It seems like you are using the download from the website. If you check out from git you can use cmake to build. It will work with the latest FFmpeg. But you need the FFmpeg development libraries not the binary.

@diegopamio
Copy link

I'm having the same issue, but I cannot see any ./configure in the cloned repo.

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