-
Notifications
You must be signed in to change notification settings - Fork 11
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
During build process of go-phash fails #4
Comments
Do you know what version of pHash is installed? And did you installed CImg separately? |
I installed latest cimg-dev on ubuntu. I am currently using the version provided in this library, here is the H file that the error is referring to though is in the include directory. |
I have also install latest libphash0 and libphash-dev |
@myusuf3 can you provide the following information:
|
i am on 12.04 I am installing it as libcimg-dev from apt the most current versions. |
@myusuf3, I just ran tests on fresh Ubuntu 12.04.5 Digital Ocean droplet with this script: #!/bin/sh
wget https://godeb.s3.amazonaws.com/godeb-amd64.tar.gz
tar xzvf godeb-amd64.tar.gz
./godeb install 1.5.2
dpkg -i go_1.5.2-godeb1_amd64.deb
aptitude update
aptitude upgrade -y
aptitude install -y libphash0-dev cimg-dev git pkg-config graphicsmagick graphicsmagick-imagemagick-compat build-essential gcc
mkdir GOPATH
export GOPATH=/root/GOPATH
go get github.com/kavu/go-phash
cd /root/GOPATH/src/github.com/kavu/go-phash/
go test -v ./... You could try yourself, tuning it appropriately. Unfortunately, later (15.04, for example) Ubuntu versions are missing |
During the build I get the following error I am not sue if this is incompatibility with new CImg.h or not.
The text was updated successfully, but these errors were encountered: