Git Product home page Git Product logo

dedup-images's People

Contributors

rbrich avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

dedup-images's Issues

Fatal error: pHash.h: No such file or directory

Using:

  • CImg-devel-1:2.9.7-1.fc34.x86_64
  • Cython version 0.29.21
  • Python 3.9.5
  • python3-sphinx-1:3.4.3-2.fc34.noarch
  • pHash.h: No such file or directory
❯ sudo ./setup.py build
Compiling pyx/phash.pyx because it changed.
[1/1] Cythonizing pyx/phash.pyx
warning: pyx/phash.pyx:139:25: local variable 'pcc' referenced before assignment
warning: pyx/phash.pyx:140:11: local variable 'pcc' referenced before assignment
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.9
creating build/lib.linux-x86_64-3.9/dedupimages
copying dedupimages/dedupimages.py -> build/lib.linux-x86_64-3.9/dedupimages
copying dedupimages/__init__.py -> build/lib.linux-x86_64-3.9/dedupimages
copying dedupimages/imagehash.py -> build/lib.linux-x86_64-3.9/dedupimages
copying dedupimages/viewer.py -> build/lib.linux-x86_64-3.9/dedupimages
copying dedupimages/hashdb.py -> build/lib.linux-x86_64-3.9/dedupimages
copying dedupimages/config.py -> build/lib.linux-x86_64-3.9/dedupimages
running build_ext
building 'phash' extension
creating build/temp.linux-x86_64-3.9
creating build/temp.linux-x86_64-3.9/pyx
gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python3.9 -c pyx/phash.cpp -o build/temp.linux-x86_64-3.9/pyx/phash.o
pyx/phash.cpp:641:10: erreur fatale: pHash.h : Aucun fichier ou dossier de ce type
  641 | #include "pHash.h"
      |          ^~~~~~~~~
compilation terminée.
error: command '/usr/bin/gcc' failed with exit code 1
❯ LANG=' '
❯ sudo ./setup.py build
running build
running build_py
running build_ext
building 'phash' extension
gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python3.9 -c pyx/phash.cpp -o build/temp.linux-x86_64-3.9/pyx/phash.o
pyx/phash.cpp:641:10: fatal error: pHash.h: No such file or directory
  641 | #include "pHash.h"
      |          ^~~~~~~~~
compilation terminated.
error: command '/usr/bin/gcc' failed with exit code 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.