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

Brew install opencv #97

Open
titiw123 opened this issue Feb 8, 2019 · 0 comments
Open

Brew install opencv #97

titiw123 opened this issue Feb 8, 2019 · 0 comments

Comments

@titiw123
Copy link

titiw123 commented Feb 8, 2019

Raspberry Pi 3

pi@raspberrypi:~ $ brew install opencv
Updating Homebrew...
==> Installing dependencies for opencv: openssl, gpatch, ncurses, readline, sqlite, xz, bzip2, libffi, zlib, python, sphinx-doc, cmake, eigen, nasm, gettext, texi2html, yasm, aom, libpng, freetype, m4, berkeley-db, libbsd, expat, perl, autoconf, automake, gperf, libtool, json-c, python@2, util-linux, fontconfig, frei0r, lame, fribidi, libxml2, itstool, docbook, docbook-xsl, boost, source-highlight, libxslt, gtk-doc, pcre, glib, pixman, linuxbrew/xorg/util-macros, linuxbrew/xorg/xtrans, linuxbrew/xorg/xcb-proto, linuxbrew/xorg/libpthread-stubs, linuxbrew/xorg/xorgproto, linuxbrew/xorg/libxau, linuxbrew/xorg/libxdmcp, gmp, mpfr, gawk, check, linuxbrew/xorg/libxcb, linuxbrew/xorg/libx11, linuxbrew/xorg/libxext, linuxbrew/xorg/libxrender, cairo, bison, help2man, flex, gobject-introspection, graphite2, icu4c, harfbuzz, libass, libogg, libvorbis, libvpx, opencore-amr, doxygen, jpeg, libtiff, little-cms2, openjpeg, opus, rtmpdump, flac, libsndfile, libsamplerate, libmpc, [email protected], gcc, libevent, open-mpi, fftw, vamp-plugin-sdk, rubberband, linuxbrew/xorg/libice, linuxbrew/xorg/libxfixes, linuxbrew/xorg/libxcursor, linuxbrew/xorg/libxscrnsaver, linuxbrew/xorg/libxxf86vm, linuxbrew/xorg/libxi, linuxbrew/xorg/libxinerama, linuxbrew/xorg/libxrandr, linuxbrew/xorg/xinput, libsoxr, speexdsp, libcap, pulseaudio, sdl2, snappy, speex, autoconf-archive, giflib, webp, leptonica, tesseract, theora, x264, x265, xvid, linuxbrew/xorg/libxv, ffmpeg, openblas, numpy, ilmbase, openexr, swig and tbb
==> Installing opencv dependency: openssl
==> Downloading https://www.openssl.org/source/openssl-1.0.2q.tar.gz
Already downloaded: /home/pi/.cache/Homebrew/downloads/bfd5d14e97371eed56ab875871c8e05eb1db5bc099a6353e46bae830f9bcc8ff--openssl-1.0.2q.tar.gz
==> perl ./Configure --prefix=/home/linuxbrew/.linuxbrew/Cellar/openssl/1.0.2
==> make depend
==> make
Last 15 lines from /home/pi/.cache/Homebrew/Logs/openssl/03.make:
x86_64cpuid.s:254: Error: bad instruction jc .Lbreak_rdrand' x86_64cpuid.s:255: Error: bad instruction loop .Loop_rdrand'
x86_64cpuid.s:257: Error: bad instruction cmpq $0,%rax' x86_64cpuid.s:258: Error: bad instruction cmoveq %rcx,%rax'
x86_64cpuid.s:263: Error: unrecognized symbol type ""
x86_64cpuid.s:266: Error: bad instruction movl $8,%ecx' x86_64cpuid.s:269: Error: bad instruction jc .Lbreak_rdseed'
x86_64cpuid.s:270: Error: bad instruction loop .Loop_rdseed' x86_64cpuid.s:272: Error: bad instruction cmpq $0,%rax'
x86_64cpuid.s:273: Error: bad instruction `cmoveq %rcx,%rax'
: recipe for target 'x86_64cpuid.o' failed
make[1]: *** [x86_64cpuid.o] Error 1
make[1]: Leaving directory '/tmp/openssl-20190209-30597-1q5rcls/openssl-1.0.2q/crypto'
Makefile:287: recipe for target 'build_crypto' failed
make: *** [build_crypto] Error 1

READ THIS: https://github.com/Linuxbrew/brew/wiki/troubleshooting

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

1 participant