aetilius / pHash

pHash - the open source perceptual hash library
https://www.phash.org
GNU General Public License v3.0
565 stars 81 forks source link

Build fails due to missing libraries. #5

Closed bbhopesh closed 5 years ago

bbhopesh commented 5 years ago

Hi, I am trying to do a build and getting below error. It could not find jpeglib.h. Please see snapshot.

image

aetilius commented 5 years ago

You need to install the dependencies, libjpeg in this case. See the .travis.yml file to see all required libraries. Will make the build process more clear on what is required soon.

bbhopesh commented 5 years ago

I am able to successfully build now but still couldn't use it. It seems like build process is not generating all the binaries that it is supposed to do. Moreover, make install is failing with missing pHash.h.

It will be great if you could share the build process in detail. Thanks a lot.

aetilius commented 5 years ago

Hello, Can you please share which binaries you are missing? Header installation has been fixed. Thank you for reporting it.

bbhopesh commented 5 years ago

Basically I am not sure how to use it after compilation. I am looking for binaries like imghash(found this name on other similarly looking repos) and similar binaries that I can use to hash videos, audio etc. However, compilation only generates Test* binaries