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

phashmodule.C:3:19: fatal error: pHash.h: No such file or directory #15

Open
davegri opened this issue Oct 4, 2015 · 1 comment
Open
Assignees

Comments

@davegri
Copy link

davegri commented Oct 4, 2015

Trying to run setup.py I get:

~/phash ❯❯❯ python setup.py install                                                  ⏎ python3
running install
running build
running build_ext
building 'pHash' extension
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-    protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -        I/usr/include/python3.4m -I/home/david/.virtualenvs/stocksearch/include/python3.4m -c phashmodule.C -    o build/temp.linux-x86_64-3.4/phashmodule.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
phashmodule.C:3:19: fatal error: pHash.h: No such file or directory
 #include <pHash.h>
                   ^
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

any idea whats going on?

@polachok
Copy link
Owner

polachok commented Oct 4, 2015

pHash.h is provided by libphash (http://www.phash.org), make sure it's installed

@polachok polachok self-assigned this Oct 5, 2015
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

2 participants