Advertisement
Guest User

building butterflow with only custom version of opencv2

a guest
Mar 2nd, 2019
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.85 KB | None | 0 0
  1. /tmp/pip-req-build-kRCkEE/butterflow/avinfo.c:5:10: fatal error: libavcodec/avcodec.h: No such file or directory
  2. #include <libavcodec/avcodec.h>
  3. ^~~~~~~~~~~~~~~~~~~~~~
  4. compilation terminated.
  5. error: command 'gcc' failed with exit status 1
  6.  
  7. ----------------------------------------
  8. Failed building wheel for butterflow
  9. Running setup.py clean for butterflow
  10. Failed to build butterflow
  11. Installing collected packages: butterflow
  12. Running setup.py install for butterflow ... error
  13. Complete output from command /usr/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-req-build-kRCkEE/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-ZzkZjh/install-record.txt --single-version-externally-managed --compile:
  14. running install
  15. running build
  16. running build_py
  17. creating build
  18. creating build/lib.linux-x86_64-2.7
  19. creating build/lib.linux-x86_64-2.7/butterflow
  20. copying butterflow/source.py -> build/lib.linux-x86_64-2.7/butterflow
  21. copying butterflow/settings.py -> build/lib.linux-x86_64-2.7/butterflow
  22. copying butterflow/sequence.py -> build/lib.linux-x86_64-2.7/butterflow
  23. copying butterflow/render.py -> build/lib.linux-x86_64-2.7/butterflow
  24. copying butterflow/mux.py -> build/lib.linux-x86_64-2.7/butterflow
  25. copying butterflow/interpolate.py -> build/lib.linux-x86_64-2.7/butterflow
  26. copying butterflow/draw.py -> build/lib.linux-x86_64-2.7/butterflow
  27. copying butterflow/cli.py -> build/lib.linux-x86_64-2.7/butterflow
  28. copying butterflow/__main__.py -> build/lib.linux-x86_64-2.7/butterflow
  29. copying butterflow/__init__.py -> build/lib.linux-x86_64-2.7/butterflow
  30. running build_ext
  31. building 'butterflow.avinfo' extension
  32. creating build/temp.linux-x86_64-2.7
  33. creating build/temp.linux-x86_64-2.7/tmp
  34. creating build/temp.linux-x86_64-2.7/tmp/pip-req-build-kRCkEE
  35. creating build/temp.linux-x86_64-2.7/tmp/pip-req-build-kRCkEE/butterflow
  36. gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -I/home/nonet/Downloads/git/opencv-2.4.13.6/include -I/home/nonet/Downloads/git/opencv-2.4.13.6/modules/ocl/include -fPIC -I/usr/include/python2.7 -c /tmp/pip-req-build-kRCkEE/butterflow/avinfo.c -o build/temp.linux-x86_64-2.7/tmp/pip-req-build-kRCkEE/butterflow/avinfo.o -std=c11 -Wno-unused-variable -Wno-unused-function -Wno-cpp
  37. /tmp/pip-req-build-kRCkEE/butterflow/avinfo.c:5:10: fatal error: libavcodec/avcodec.h: No such file or directory
  38. #include <libavcodec/avcodec.h>
  39. ^~~~~~~~~~~~~~~~~~~~~~
  40. compilation terminated.
  41. error: command 'gcc' failed with exit status 1
  42.  
  43. ----------------------------------------
  44. Command "/usr/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-req-build-kRCkEE/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-ZzkZjh/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-req-build-kRCkEE/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement