編譯安裝 zbar 時兩次 make 帶來的驚喜

為了裝 php 的條形碼擴展模塊 php-zbarcode,先裝了一天的 ImageMagick 和 zbar。也許和我裝的 Ubuntu 17.10 的有版本兼容問題吧,總之什么毛病都有,apt 不行,PPA 源也不行,編譯安裝還有幾處源代碼出錯,裝不上~

折騰了大半天之后終于把 ImageMagick?編譯安裝好了~~而在編譯安裝 zbar 的時候,值得微笑的事就來了。參考了網上的很多資料,解決了大多問題,比較重要的是在 zbar 執行 ./configure 配置的時候會找不到 ./wand/ 目錄下的頭文件,加兩個軟鏈接指向本地庫就可以

sudo ln -s /usr/local/include/ImageMagick-7 /usr/local/include/ImageMagick
sudo ln -s /usr/local/include/ImageMagick-7/MagickWand /usr/local/include/wand

最后剩下一個,就是在 make 編譯的時候始終報錯,錯的地方有點多~~

mingc@mingc-GE60-2PL:~/Downloads/qrcode/zbar-0.10$ make
make  all-am
make[1]: Entering directory '/home/mingc/Downloads/qrcode/zbar-0.10'
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I./include  -I./zbar -I./include    -Wall -Wno-parentheses  -MT zbar/zbar_libzbar_la-config.lo -MD -MP -MF zbar/.deps/zbar_libzbar_la-config.Tpo -c -o zbar/zbar_libzbar_la-config.lo `test -f 'zbar/config.c' || echo './'`zbar/config.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/zbar_libzbar_la-config.lo -MD -MP -MF zbar/.deps/zbar_libzbar_la-config.Tpo -c zbar/config.c  -fPIC -DPIC -o zbar/.libs/zbar_libzbar_la-config.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/zbar_libzbar_la-config.lo -MD -MP -MF zbar/.deps/zbar_libzbar_la-config.Tpo -c zbar/config.c -o zbar/zbar_libzbar_la-config.o >/dev/null 2>&1
mv -f zbar/.deps/zbar_libzbar_la-config.Tpo zbar/.deps/zbar_libzbar_la-config.Plo
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I./include  -I./zbar -I./include    -Wall -Wno-parentheses  -MT zbar/zbar_libzbar_la-error.lo -MD -MP -MF zbar/.deps/zbar_libzbar_la-error.Tpo -c -o zbar/zbar_libzbar_la-error.lo `test -f 'zbar/error.c' || echo './'`zbar/error.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/zbar_libzbar_la-error.lo -MD -MP -MF zbar/.deps/zbar_libzbar_la-error.Tpo -c zbar/error.c  -fPIC -DPIC -o zbar/.libs/zbar_libzbar_la-error.o
zbar/error.c:39:19: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier]static const char const * err_str[] = {^~~~~
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/zbar_libzbar_la-error.lo -MD -MP -MF zbar/.deps/zbar_libzbar_la-error.Tpo -c zbar/error.c -o zbar/zbar_libzbar_la-error.o >/dev/null 2>&1
mv -f zbar/.deps/zbar_libzbar_la-error.Tpo zbar/.deps/zbar_libzbar_la-error.Plo
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I./include  -I./zbar -I./include    -Wall -Wno-parentheses  -MT zbar/zbar_libzbar_la-symbol.lo -MD -MP -MF zbar/.deps/zbar_libzbar_la-symbol.Tpo -c -o zbar/zbar_libzbar_la-symbol.lo `test -f 'zbar/symbol.c' || echo './'`zbar/symbol.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/zbar_libzbar_la-symbol.lo -MD -MP -MF zbar/.deps/zbar_libzbar_la-symbol.Tpo -c zbar/symbol.c  -fPIC -DPIC -o zbar/.libs/zbar_libzbar_la-symbol.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/zbar_libzbar_la-symbol.lo -MD -MP -MF zbar/.deps/zbar_libzbar_la-symbol.Tpo -c zbar/symbol.c -o zbar/zbar_libzbar_la-symbol.o >/dev/null 2>&1
mv -f zbar/.deps/zbar_libzbar_la-symbol.Tpo zbar/.deps/zbar_libzbar_la-symbol.Plo
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I./include  -I./zbar -I./include    -Wall -Wno-parentheses  -MT zbar/zbar_libzbar_la-image.lo -MD -MP -MF zbar/.deps/zbar_libzbar_la-image.Tpo -c -o zbar/zbar_libzbar_la-image.lo `test -f 'zbar/image.c' || echo './'`zbar/image.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/zbar_libzbar_la-image.lo -MD -MP -MF zbar/.deps/zbar_libzbar_la-image.Tpo -c zbar/image.c  -fPIC -DPIC -o zbar/.libs/zbar_libzbar_la-image.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/zbar_libzbar_la-image.lo -MD -MP -MF zbar/.deps/zbar_libzbar_la-image.Tpo -c zbar/image.c -o zbar/zbar_libzbar_la-image.o >/dev/null 2>&1
mv -f zbar/.deps/zbar_libzbar_la-image.Tpo zbar/.deps/zbar_libzbar_la-image.Plo
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I./include  -I./zbar -I./include    -Wall -Wno-parentheses  -MT zbar/zbar_libzbar_la-convert.lo -MD -MP -MF zbar/.deps/zbar_libzbar_la-convert.Tpo -c -o zbar/zbar_libzbar_la-convert.lo `test -f 'zbar/convert.c' || echo './'`zbar/convert.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/zbar_libzbar_la-convert.lo -MD -MP -MF zbar/.deps/zbar_libzbar_la-convert.Tpo -c zbar/convert.c  -fPIC -DPIC -o zbar/.libs/zbar_libzbar_la-convert.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/zbar_libzbar_la-convert.lo -MD -MP -MF zbar/.deps/zbar_libzbar_la-convert.Tpo -c zbar/convert.c -o zbar/zbar_libzbar_la-convert.o >/dev/null 2>&1
mv -f zbar/.deps/zbar_libzbar_la-convert.Tpo zbar/.deps/zbar_libzbar_la-convert.Plo
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I./include  -I./zbar -I./include    -Wall -Wno-parentheses  -MT zbar/zbar_libzbar_la-processor.lo -MD -MP -MF zbar/.deps/zbar_libzbar_la-processor.Tpo -c -o zbar/zbar_libzbar_la-processor.lo `test -f 'zbar/processor.c' || echo './'`zbar/processor.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/zbar_libzbar_la-processor.lo -MD -MP -MF zbar/.deps/zbar_libzbar_la-processor.Tpo -c zbar/processor.c  -fPIC -DPIC -o zbar/.libs/zbar_libzbar_la-processor.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/zbar_libzbar_la-processor.lo -MD -MP -MF zbar/.deps/zbar_libzbar_la-processor.Tpo -c zbar/processor.c -o zbar/zbar_libzbar_la-processor.o >/dev/null 2>&1
mv -f zbar/.deps/zbar_libzbar_la-processor.Tpo zbar/.deps/zbar_libzbar_la-processor.Plo
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I./include  -I./zbar -I./include    -Wall -Wno-parentheses  -MT zbar/processor/zbar_libzbar_la-lock.lo -MD -MP -MF zbar/processor/.deps/zbar_libzbar_la-lock.Tpo -c -o zbar/processor/zbar_libzbar_la-lock.lo `test -f 'zbar/processor/lock.c' || echo './'`zbar/processor/lock.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/processor/zbar_libzbar_la-lock.lo -MD -MP -MF zbar/processor/.deps/zbar_libzbar_la-lock.Tpo -c zbar/processor/lock.c  -fPIC -DPIC -o zbar/processor/.libs/zbar_libzbar_la-lock.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/processor/zbar_libzbar_la-lock.lo -MD -MP -MF zbar/processor/.deps/zbar_libzbar_la-lock.Tpo -c zbar/processor/lock.c -o zbar/processor/zbar_libzbar_la-lock.o >/dev/null 2>&1
mv -f zbar/processor/.deps/zbar_libzbar_la-lock.Tpo zbar/processor/.deps/zbar_libzbar_la-lock.Plo
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I./include  -I./zbar -I./include    -Wall -Wno-parentheses  -MT zbar/zbar_libzbar_la-refcnt.lo -MD -MP -MF zbar/.deps/zbar_libzbar_la-refcnt.Tpo -c -o zbar/zbar_libzbar_la-refcnt.lo `test -f 'zbar/refcnt.c' || echo './'`zbar/refcnt.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/zbar_libzbar_la-refcnt.lo -MD -MP -MF zbar/.deps/zbar_libzbar_la-refcnt.Tpo -c zbar/refcnt.c  -fPIC -DPIC -o zbar/.libs/zbar_libzbar_la-refcnt.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/zbar_libzbar_la-refcnt.lo -MD -MP -MF zbar/.deps/zbar_libzbar_la-refcnt.Tpo -c zbar/refcnt.c -o zbar/zbar_libzbar_la-refcnt.o >/dev/null 2>&1
mv -f zbar/.deps/zbar_libzbar_la-refcnt.Tpo zbar/.deps/zbar_libzbar_la-refcnt.Plo
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I./include  -I./zbar -I./include    -Wall -Wno-parentheses  -MT zbar/zbar_libzbar_la-window.lo -MD -MP -MF zbar/.deps/zbar_libzbar_la-window.Tpo -c -o zbar/zbar_libzbar_la-window.lo `test -f 'zbar/window.c' || echo './'`zbar/window.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/zbar_libzbar_la-window.lo -MD -MP -MF zbar/.deps/zbar_libzbar_la-window.Tpo -c zbar/window.c  -fPIC -DPIC -o zbar/.libs/zbar_libzbar_la-window.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/zbar_libzbar_la-window.lo -MD -MP -MF zbar/.deps/zbar_libzbar_la-window.Tpo -c zbar/window.c -o zbar/zbar_libzbar_la-window.o >/dev/null 2>&1
mv -f zbar/.deps/zbar_libzbar_la-window.Tpo zbar/.deps/zbar_libzbar_la-window.Plo
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I./include  -I./zbar -I./include    -Wall -Wno-parentheses  -MT zbar/zbar_libzbar_la-video.lo -MD -MP -MF zbar/.deps/zbar_libzbar_la-video.Tpo -c -o zbar/zbar_libzbar_la-video.lo `test -f 'zbar/video.c' || echo './'`zbar/video.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/zbar_libzbar_la-video.lo -MD -MP -MF zbar/.deps/zbar_libzbar_la-video.Tpo -c zbar/video.c  -fPIC -DPIC -o zbar/.libs/zbar_libzbar_la-video.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/zbar_libzbar_la-video.lo -MD -MP -MF zbar/.deps/zbar_libzbar_la-video.Tpo -c zbar/video.c -o zbar/zbar_libzbar_la-video.o >/dev/null 2>&1
mv -f zbar/.deps/zbar_libzbar_la-video.Tpo zbar/.deps/zbar_libzbar_la-video.Plo
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I./include  -I./zbar -I./include    -Wall -Wno-parentheses  -MT zbar/zbar_libzbar_la-img_scanner.lo -MD -MP -MF zbar/.deps/zbar_libzbar_la-img_scanner.Tpo -c -o zbar/zbar_libzbar_la-img_scanner.lo `test -f 'zbar/img_scanner.c' || echo './'`zbar/img_scanner.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/zbar_libzbar_la-img_scanner.lo -MD -MP -MF zbar/.deps/zbar_libzbar_la-img_scanner.Tpo -c zbar/img_scanner.c  -fPIC -DPIC -o zbar/.libs/zbar_libzbar_la-img_scanner.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/zbar_libzbar_la-img_scanner.lo -MD -MP -MF zbar/.deps/zbar_libzbar_la-img_scanner.Tpo -c zbar/img_scanner.c -o zbar/zbar_libzbar_la-img_scanner.o >/dev/null 2>&1
mv -f zbar/.deps/zbar_libzbar_la-img_scanner.Tpo zbar/.deps/zbar_libzbar_la-img_scanner.Plo
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I./include  -I./zbar -I./include    -Wall -Wno-parentheses  -MT zbar/zbar_libzbar_la-scanner.lo -MD -MP -MF zbar/.deps/zbar_libzbar_la-scanner.Tpo -c -o zbar/zbar_libzbar_la-scanner.lo `test -f 'zbar/scanner.c' || echo './'`zbar/scanner.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/zbar_libzbar_la-scanner.lo -MD -MP -MF zbar/.deps/zbar_libzbar_la-scanner.Tpo -c zbar/scanner.c  -fPIC -DPIC -o zbar/.libs/zbar_libzbar_la-scanner.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/zbar_libzbar_la-scanner.lo -MD -MP -MF zbar/.deps/zbar_libzbar_la-scanner.Tpo -c zbar/scanner.c -o zbar/zbar_libzbar_la-scanner.o >/dev/null 2>&1
mv -f zbar/.deps/zbar_libzbar_la-scanner.Tpo zbar/.deps/zbar_libzbar_la-scanner.Plo
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I./include  -I./zbar -I./include    -Wall -Wno-parentheses  -MT zbar/zbar_libzbar_la-decoder.lo -MD -MP -MF zbar/.deps/zbar_libzbar_la-decoder.Tpo -c -o zbar/zbar_libzbar_la-decoder.lo `test -f 'zbar/decoder.c' || echo './'`zbar/decoder.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/zbar_libzbar_la-decoder.lo -MD -MP -MF zbar/.deps/zbar_libzbar_la-decoder.Tpo -c zbar/decoder.c  -fPIC -DPIC -o zbar/.libs/zbar_libzbar_la-decoder.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/zbar_libzbar_la-decoder.lo -MD -MP -MF zbar/.deps/zbar_libzbar_la-decoder.Tpo -c zbar/decoder.c -o zbar/zbar_libzbar_la-decoder.o >/dev/null 2>&1
mv -f zbar/.deps/zbar_libzbar_la-decoder.Tpo zbar/.deps/zbar_libzbar_la-decoder.Plo
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I./include  -I./zbar -I./include    -Wall -Wno-parentheses  -MT zbar/decoder/zbar_libzbar_la-ean.lo -MD -MP -MF zbar/decoder/.deps/zbar_libzbar_la-ean.Tpo -c -o zbar/decoder/zbar_libzbar_la-ean.lo `test -f 'zbar/decoder/ean.c' || echo './'`zbar/decoder/ean.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/decoder/zbar_libzbar_la-ean.lo -MD -MP -MF zbar/decoder/.deps/zbar_libzbar_la-ean.Tpo -c zbar/decoder/ean.c  -fPIC -DPIC -o zbar/decoder/.libs/zbar_libzbar_la-ean.o
zbar/decoder/ean.c: In function ‘ean_part_end4’:
zbar/decoder/ean.c:245:13: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]if(!par == fwd) {^~
zbar/decoder/ean.c:245:8: note: add parentheses around left hand side expression to silence this warningif(!par == fwd) {^~~~(   )
zbar/decoder/ean.c: In function ‘ean_part_end7’:
zbar/decoder/ean.c:294:13: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]if(!par == fwd) {^~
zbar/decoder/ean.c:294:8: note: add parentheses around left hand side expression to silence this warningif(!par == fwd) {^~~~(   )
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/decoder/zbar_libzbar_la-ean.lo -MD -MP -MF zbar/decoder/.deps/zbar_libzbar_la-ean.Tpo -c zbar/decoder/ean.c -o zbar/decoder/zbar_libzbar_la-ean.o >/dev/null 2>&1
mv -f zbar/decoder/.deps/zbar_libzbar_la-ean.Tpo zbar/decoder/.deps/zbar_libzbar_la-ean.Plo
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I./include  -I./zbar -I./include    -Wall -Wno-parentheses  -MT zbar/decoder/zbar_libzbar_la-code128.lo -MD -MP -MF zbar/decoder/.deps/zbar_libzbar_la-code128.Tpo -c -o zbar/decoder/zbar_libzbar_la-code128.lo `test -f 'zbar/decoder/code128.c' || echo './'`zbar/decoder/code128.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/decoder/zbar_libzbar_la-code128.lo -MD -MP -MF zbar/decoder/.deps/zbar_libzbar_la-code128.Tpo -c zbar/decoder/code128.c  -fPIC -DPIC -o zbar/decoder/.libs/zbar_libzbar_la-code128.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/decoder/zbar_libzbar_la-code128.lo -MD -MP -MF zbar/decoder/.deps/zbar_libzbar_la-code128.Tpo -c zbar/decoder/code128.c -o zbar/decoder/zbar_libzbar_la-code128.o >/dev/null 2>&1
mv -f zbar/decoder/.deps/zbar_libzbar_la-code128.Tpo zbar/decoder/.deps/zbar_libzbar_la-code128.Plo
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I./include  -I./zbar -I./include    -Wall -Wno-parentheses  -MT zbar/decoder/zbar_libzbar_la-code39.lo -MD -MP -MF zbar/decoder/.deps/zbar_libzbar_la-code39.Tpo -c -o zbar/decoder/zbar_libzbar_la-code39.lo `test -f 'zbar/decoder/code39.c' || echo './'`zbar/decoder/code39.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/decoder/zbar_libzbar_la-code39.lo -MD -MP -MF zbar/decoder/.deps/zbar_libzbar_la-code39.Tpo -c zbar/decoder/code39.c  -fPIC -DPIC -o zbar/decoder/.libs/zbar_libzbar_la-code39.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/decoder/zbar_libzbar_la-code39.lo -MD -MP -MF zbar/decoder/.deps/zbar_libzbar_la-code39.Tpo -c zbar/decoder/code39.c -o zbar/decoder/zbar_libzbar_la-code39.o >/dev/null 2>&1
mv -f zbar/decoder/.deps/zbar_libzbar_la-code39.Tpo zbar/decoder/.deps/zbar_libzbar_la-code39.Plo
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I./include  -I./zbar -I./include    -Wall -Wno-parentheses  -MT zbar/decoder/zbar_libzbar_la-i25.lo -MD -MP -MF zbar/decoder/.deps/zbar_libzbar_la-i25.Tpo -c -o zbar/decoder/zbar_libzbar_la-i25.lo `test -f 'zbar/decoder/i25.c' || echo './'`zbar/decoder/i25.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/decoder/zbar_libzbar_la-i25.lo -MD -MP -MF zbar/decoder/.deps/zbar_libzbar_la-i25.Tpo -c zbar/decoder/i25.c  -fPIC -DPIC -o zbar/decoder/.libs/zbar_libzbar_la-i25.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/decoder/zbar_libzbar_la-i25.lo -MD -MP -MF zbar/decoder/.deps/zbar_libzbar_la-i25.Tpo -c zbar/decoder/i25.c -o zbar/decoder/zbar_libzbar_la-i25.o >/dev/null 2>&1
mv -f zbar/decoder/.deps/zbar_libzbar_la-i25.Tpo zbar/decoder/.deps/zbar_libzbar_la-i25.Plo
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I./include  -I./zbar -I./include    -Wall -Wno-parentheses  -MT zbar/decoder/zbar_libzbar_la-qr_finder.lo -MD -MP -MF zbar/decoder/.deps/zbar_libzbar_la-qr_finder.Tpo -c -o zbar/decoder/zbar_libzbar_la-qr_finder.lo `test -f 'zbar/decoder/qr_finder.c' || echo './'`zbar/decoder/qr_finder.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/decoder/zbar_libzbar_la-qr_finder.lo -MD -MP -MF zbar/decoder/.deps/zbar_libzbar_la-qr_finder.Tpo -c zbar/decoder/qr_finder.c  -fPIC -DPIC -o zbar/decoder/.libs/zbar_libzbar_la-qr_finder.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/decoder/zbar_libzbar_la-qr_finder.lo -MD -MP -MF zbar/decoder/.deps/zbar_libzbar_la-qr_finder.Tpo -c zbar/decoder/qr_finder.c -o zbar/decoder/zbar_libzbar_la-qr_finder.o >/dev/null 2>&1
mv -f zbar/decoder/.deps/zbar_libzbar_la-qr_finder.Tpo zbar/decoder/.deps/zbar_libzbar_la-qr_finder.Plo
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I./include  -I./zbar -I./include    -Wall -Wno-parentheses  -MT zbar/qrcode/zbar_libzbar_la-qrdec.lo -MD -MP -MF zbar/qrcode/.deps/zbar_libzbar_la-qrdec.Tpo -c -o zbar/qrcode/zbar_libzbar_la-qrdec.lo `test -f 'zbar/qrcode/qrdec.c' || echo './'`zbar/qrcode/qrdec.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/qrcode/zbar_libzbar_la-qrdec.lo -MD -MP -MF zbar/qrcode/.deps/zbar_libzbar_la-qrdec.Tpo -c zbar/qrcode/qrdec.c  -fPIC -DPIC -o zbar/qrcode/.libs/zbar_libzbar_la-qrdec.o
zbar/qrcode/qrdec.c: In function ‘qr_finder_quick_crossing_check’:
zbar/qrcode/qrdec.c:1215:27: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]if(!_img[_y0*_width+_x0]!=_v||!_img[_y1*_width+_x1]!=_v)return 1;^~
zbar/qrcode/qrdec.c:1215:6: note: add parentheses around left hand side expression to silence this warningif(!_img[_y0*_width+_x0]!=_v||!_img[_y1*_width+_x1]!=_v)return 1;^~~~~~~~~~~~~~~~~~~~~(                    )
zbar/qrcode/qrdec.c:1215:54: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]if(!_img[_y0*_width+_x0]!=_v||!_img[_y1*_width+_x1]!=_v)return 1;^~
zbar/qrcode/qrdec.c:1215:33: note: add parentheses around left hand side expression to silence this warningif(!_img[_y0*_width+_x0]!=_v||!_img[_y1*_width+_x1]!=_v)return 1;^~~~~~~~~~~~~~~~~~~~~(                    )
zbar/qrcode/qrdec.c:1216:45: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]if(!_img[(_y0+_y1>>1)*_width+(_x0+_x1>>1)]==_v)return -1;^~
zbar/qrcode/qrdec.c:1216:6: note: add parentheses around left hand side expression to silence this warningif(!_img[(_y0+_y1>>1)*_width+(_x0+_x1>>1)]==_v)return -1;^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(                                      )
zbar/qrcode/qrdec.c: In function ‘qr_finder_locate_crossing’:
zbar/qrcode/qrdec.c:1257:33: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]if(!_img[x0[1]*_width+x0[0]]!=_v)break;^~
zbar/qrcode/qrdec.c:1257:8: note: add parentheses around left hand side expression to silence this warningif(!_img[x0[1]*_width+x0[0]]!=_v)break;^~~~~~~~~~~~~~~~~~~~~~~~~(                        )
zbar/qrcode/qrdec.c:1269:33: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]if(!_img[x1[1]*_width+x1[0]]!=_v)break;^~
zbar/qrcode/qrdec.c:1269:8: note: add parentheses around left hand side expression to silence this warningif(!_img[x1[1]*_width+x1[0]]!=_v)break;^~~~~~~~~~~~~~~~~~~~~~~~~(                        )
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/qrcode/zbar_libzbar_la-qrdec.lo -MD -MP -MF zbar/qrcode/.deps/zbar_libzbar_la-qrdec.Tpo -c zbar/qrcode/qrdec.c -o zbar/qrcode/zbar_libzbar_la-qrdec.o >/dev/null 2>&1
mv -f zbar/qrcode/.deps/zbar_libzbar_la-qrdec.Tpo zbar/qrcode/.deps/zbar_libzbar_la-qrdec.Plo
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I./include  -I./zbar -I./include    -Wall -Wno-parentheses  -MT zbar/qrcode/zbar_libzbar_la-qrdectxt.lo -MD -MP -MF zbar/qrcode/.deps/zbar_libzbar_la-qrdectxt.Tpo -c -o zbar/qrcode/zbar_libzbar_la-qrdectxt.lo `test -f 'zbar/qrcode/qrdectxt.c' || echo './'`zbar/qrcode/qrdectxt.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/qrcode/zbar_libzbar_la-qrdectxt.lo -MD -MP -MF zbar/qrcode/.deps/zbar_libzbar_la-qrdectxt.Tpo -c zbar/qrcode/qrdectxt.c  -fPIC -DPIC -o zbar/qrcode/.libs/zbar_libzbar_la-qrdectxt.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/qrcode/zbar_libzbar_la-qrdectxt.lo -MD -MP -MF zbar/qrcode/.deps/zbar_libzbar_la-qrdectxt.Tpo -c zbar/qrcode/qrdectxt.c -o zbar/qrcode/zbar_libzbar_la-qrdectxt.o >/dev/null 2>&1
mv -f zbar/qrcode/.deps/zbar_libzbar_la-qrdectxt.Tpo zbar/qrcode/.deps/zbar_libzbar_la-qrdectxt.Plo
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I./include  -I./zbar -I./include    -Wall -Wno-parentheses  -MT zbar/qrcode/zbar_libzbar_la-rs.lo -MD -MP -MF zbar/qrcode/.deps/zbar_libzbar_la-rs.Tpo -c -o zbar/qrcode/zbar_libzbar_la-rs.lo `test -f 'zbar/qrcode/rs.c' || echo './'`zbar/qrcode/rs.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/qrcode/zbar_libzbar_la-rs.lo -MD -MP -MF zbar/qrcode/.deps/zbar_libzbar_la-rs.Tpo -c zbar/qrcode/rs.c  -fPIC -DPIC -o zbar/qrcode/.libs/zbar_libzbar_la-rs.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/qrcode/zbar_libzbar_la-rs.lo -MD -MP -MF zbar/qrcode/.deps/zbar_libzbar_la-rs.Tpo -c zbar/qrcode/rs.c -o zbar/qrcode/zbar_libzbar_la-rs.o >/dev/null 2>&1
mv -f zbar/qrcode/.deps/zbar_libzbar_la-rs.Tpo zbar/qrcode/.deps/zbar_libzbar_la-rs.Plo
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I./include  -I./zbar -I./include    -Wall -Wno-parentheses  -MT zbar/qrcode/zbar_libzbar_la-isaac.lo -MD -MP -MF zbar/qrcode/.deps/zbar_libzbar_la-isaac.Tpo -c -o zbar/qrcode/zbar_libzbar_la-isaac.lo `test -f 'zbar/qrcode/isaac.c' || echo './'`zbar/qrcode/isaac.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/qrcode/zbar_libzbar_la-isaac.lo -MD -MP -MF zbar/qrcode/.deps/zbar_libzbar_la-isaac.Tpo -c zbar/qrcode/isaac.c  -fPIC -DPIC -o zbar/qrcode/.libs/zbar_libzbar_la-isaac.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/qrcode/zbar_libzbar_la-isaac.lo -MD -MP -MF zbar/qrcode/.deps/zbar_libzbar_la-isaac.Tpo -c zbar/qrcode/isaac.c -o zbar/qrcode/zbar_libzbar_la-isaac.o >/dev/null 2>&1
mv -f zbar/qrcode/.deps/zbar_libzbar_la-isaac.Tpo zbar/qrcode/.deps/zbar_libzbar_la-isaac.Plo
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I./include  -I./zbar -I./include    -Wall -Wno-parentheses  -MT zbar/qrcode/zbar_libzbar_la-bch15_5.lo -MD -MP -MF zbar/qrcode/.deps/zbar_libzbar_la-bch15_5.Tpo -c -o zbar/qrcode/zbar_libzbar_la-bch15_5.lo `test -f 'zbar/qrcode/bch15_5.c' || echo './'`zbar/qrcode/bch15_5.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/qrcode/zbar_libzbar_la-bch15_5.lo -MD -MP -MF zbar/qrcode/.deps/zbar_libzbar_la-bch15_5.Tpo -c zbar/qrcode/bch15_5.c  -fPIC -DPIC -o zbar/qrcode/.libs/zbar_libzbar_la-bch15_5.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/qrcode/zbar_libzbar_la-bch15_5.lo -MD -MP -MF zbar/qrcode/.deps/zbar_libzbar_la-bch15_5.Tpo -c zbar/qrcode/bch15_5.c -o zbar/qrcode/zbar_libzbar_la-bch15_5.o >/dev/null 2>&1
mv -f zbar/qrcode/.deps/zbar_libzbar_la-bch15_5.Tpo zbar/qrcode/.deps/zbar_libzbar_la-bch15_5.Plo
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I./include  -I./zbar -I./include    -Wall -Wno-parentheses  -MT zbar/qrcode/zbar_libzbar_la-binarize.lo -MD -MP -MF zbar/qrcode/.deps/zbar_libzbar_la-binarize.Tpo -c -o zbar/qrcode/zbar_libzbar_la-binarize.lo `test -f 'zbar/qrcode/binarize.c' || echo './'`zbar/qrcode/binarize.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/qrcode/zbar_libzbar_la-binarize.lo -MD -MP -MF zbar/qrcode/.deps/zbar_libzbar_la-binarize.Tpo -c zbar/qrcode/binarize.c  -fPIC -DPIC -o zbar/qrcode/.libs/zbar_libzbar_la-binarize.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/qrcode/zbar_libzbar_la-binarize.lo -MD -MP -MF zbar/qrcode/.deps/zbar_libzbar_la-binarize.Tpo -c zbar/qrcode/binarize.c -o zbar/qrcode/zbar_libzbar_la-binarize.o >/dev/null 2>&1
mv -f zbar/qrcode/.deps/zbar_libzbar_la-binarize.Tpo zbar/qrcode/.deps/zbar_libzbar_la-binarize.Plo
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I./include  -I./zbar -I./include    -Wall -Wno-parentheses  -MT zbar/qrcode/zbar_libzbar_la-util.lo -MD -MP -MF zbar/qrcode/.deps/zbar_libzbar_la-util.Tpo -c -o zbar/qrcode/zbar_libzbar_la-util.lo `test -f 'zbar/qrcode/util.c' || echo './'`zbar/qrcode/util.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/qrcode/zbar_libzbar_la-util.lo -MD -MP -MF zbar/qrcode/.deps/zbar_libzbar_la-util.Tpo -c zbar/qrcode/util.c  -fPIC -DPIC -o zbar/qrcode/.libs/zbar_libzbar_la-util.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/qrcode/zbar_libzbar_la-util.lo -MD -MP -MF zbar/qrcode/.deps/zbar_libzbar_la-util.Tpo -c zbar/qrcode/util.c -o zbar/qrcode/zbar_libzbar_la-util.o >/dev/null 2>&1
mv -f zbar/qrcode/.deps/zbar_libzbar_la-util.Tpo zbar/qrcode/.deps/zbar_libzbar_la-util.Plo
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I./include  -I./zbar -I./include    -Wall -Wno-parentheses  -MT zbar/processor/zbar_libzbar_la-posix.lo -MD -MP -MF zbar/processor/.deps/zbar_libzbar_la-posix.Tpo -c -o zbar/processor/zbar_libzbar_la-posix.lo `test -f 'zbar/processor/posix.c' || echo './'`zbar/processor/posix.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/processor/zbar_libzbar_la-posix.lo -MD -MP -MF zbar/processor/.deps/zbar_libzbar_la-posix.Tpo -c zbar/processor/posix.c  -fPIC -DPIC -o zbar/processor/.libs/zbar_libzbar_la-posix.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/processor/zbar_libzbar_la-posix.lo -MD -MP -MF zbar/processor/.deps/zbar_libzbar_la-posix.Tpo -c zbar/processor/posix.c -o zbar/processor/zbar_libzbar_la-posix.o >/dev/null 2>&1
mv -f zbar/processor/.deps/zbar_libzbar_la-posix.Tpo zbar/processor/.deps/zbar_libzbar_la-posix.Plo
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I./include  -I./zbar -I./include    -Wall -Wno-parentheses  -MT zbar/video/zbar_libzbar_la-null.lo -MD -MP -MF zbar/video/.deps/zbar_libzbar_la-null.Tpo -c -o zbar/video/zbar_libzbar_la-null.lo `test -f 'zbar/video/null.c' || echo './'`zbar/video/null.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/video/zbar_libzbar_la-null.lo -MD -MP -MF zbar/video/.deps/zbar_libzbar_la-null.Tpo -c zbar/video/null.c  -fPIC -DPIC -o zbar/video/.libs/zbar_libzbar_la-null.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/video/zbar_libzbar_la-null.lo -MD -MP -MF zbar/video/.deps/zbar_libzbar_la-null.Tpo -c zbar/video/null.c -o zbar/video/zbar_libzbar_la-null.o >/dev/null 2>&1
mv -f zbar/video/.deps/zbar_libzbar_la-null.Tpo zbar/video/.deps/zbar_libzbar_la-null.Plo
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I./include  -I./zbar -I./include    -Wall -Wno-parentheses  -MT zbar/zbar_libzbar_la-jpeg.lo -MD -MP -MF zbar/.deps/zbar_libzbar_la-jpeg.Tpo -c -o zbar/zbar_libzbar_la-jpeg.lo `test -f 'zbar/jpeg.c' || echo './'`zbar/jpeg.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/zbar_libzbar_la-jpeg.lo -MD -MP -MF zbar/.deps/zbar_libzbar_la-jpeg.Tpo -c zbar/jpeg.c  -fPIC -DPIC -o zbar/.libs/zbar_libzbar_la-jpeg.o
zbar/jpeg.c: In function ‘_zbar_convert_jpeg_to_y’:
zbar/jpeg.c:174:39: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]cinfo->src->fill_input_buffer = fill_input_buffer;^
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/zbar_libzbar_la-jpeg.lo -MD -MP -MF zbar/.deps/zbar_libzbar_la-jpeg.Tpo -c zbar/jpeg.c -o zbar/zbar_libzbar_la-jpeg.o >/dev/null 2>&1
mv -f zbar/.deps/zbar_libzbar_la-jpeg.Tpo zbar/.deps/zbar_libzbar_la-jpeg.Plo
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I./include  -I./zbar -I./include    -Wall -Wno-parentheses  -MT zbar/processor/zbar_libzbar_la-x.lo -MD -MP -MF zbar/processor/.deps/zbar_libzbar_la-x.Tpo -c -o zbar/processor/zbar_libzbar_la-x.lo `test -f 'zbar/processor/x.c' || echo './'`zbar/processor/x.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/processor/zbar_libzbar_la-x.lo -MD -MP -MF zbar/processor/.deps/zbar_libzbar_la-x.Tpo -c zbar/processor/x.c  -fPIC -DPIC -o zbar/processor/.libs/zbar_libzbar_la-x.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/processor/zbar_libzbar_la-x.lo -MD -MP -MF zbar/processor/.deps/zbar_libzbar_la-x.Tpo -c zbar/processor/x.c -o zbar/processor/zbar_libzbar_la-x.o >/dev/null 2>&1
mv -f zbar/processor/.deps/zbar_libzbar_la-x.Tpo zbar/processor/.deps/zbar_libzbar_la-x.Plo
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I./include  -I./zbar -I./include    -Wall -Wno-parentheses  -MT zbar/window/zbar_libzbar_la-x.lo -MD -MP -MF zbar/window/.deps/zbar_libzbar_la-x.Tpo -c -o zbar/window/zbar_libzbar_la-x.lo `test -f 'zbar/window/x.c' || echo './'`zbar/window/x.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/window/zbar_libzbar_la-x.lo -MD -MP -MF zbar/window/.deps/zbar_libzbar_la-x.Tpo -c zbar/window/x.c  -fPIC -DPIC -o zbar/window/.libs/zbar_libzbar_la-x.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/window/zbar_libzbar_la-x.lo -MD -MP -MF zbar/window/.deps/zbar_libzbar_la-x.Tpo -c zbar/window/x.c -o zbar/window/zbar_libzbar_la-x.o >/dev/null 2>&1
mv -f zbar/window/.deps/zbar_libzbar_la-x.Tpo zbar/window/.deps/zbar_libzbar_la-x.Plo
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I./include  -I./zbar -I./include    -Wall -Wno-parentheses  -MT zbar/window/zbar_libzbar_la-ximage.lo -MD -MP -MF zbar/window/.deps/zbar_libzbar_la-ximage.Tpo -c -o zbar/window/zbar_libzbar_la-ximage.lo `test -f 'zbar/window/ximage.c' || echo './'`zbar/window/ximage.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/window/zbar_libzbar_la-ximage.lo -MD -MP -MF zbar/window/.deps/zbar_libzbar_la-ximage.Tpo -c zbar/window/ximage.c  -fPIC -DPIC -o zbar/window/.libs/zbar_libzbar_la-ximage.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -MT zbar/window/zbar_libzbar_la-ximage.lo -MD -MP -MF zbar/window/.deps/zbar_libzbar_la-ximage.Tpo -c zbar/window/ximage.c -o zbar/window/zbar_libzbar_la-ximage.o >/dev/null 2>&1
mv -f zbar/window/.deps/zbar_libzbar_la-ximage.Tpo zbar/window/.deps/zbar_libzbar_la-ximage.Plo
/bin/bash ./libtool --tag=CC   --mode=link gcc -Wall -Wno-parentheses  -no-undefined -version-info 2:0:2 -export-symbols-regex "^(zbar|_zbar.*_error)_.*"      -o zbar/libzbar.la -rpath /usr/local/lib zbar/zbar_libzbar_la-config.lo zbar/zbar_libzbar_la-error.lo zbar/zbar_libzbar_la-symbol.lo zbar/zbar_libzbar_la-image.lo zbar/zbar_libzbar_la-convert.lo zbar/zbar_libzbar_la-processor.lo zbar/processor/zbar_libzbar_la-lock.lo zbar/zbar_libzbar_la-refcnt.lo zbar/zbar_libzbar_la-window.lo zbar/zbar_libzbar_la-video.lo zbar/zbar_libzbar_la-img_scanner.lo zbar/zbar_libzbar_la-scanner.lo zbar/zbar_libzbar_la-decoder.lo zbar/decoder/zbar_libzbar_la-ean.lo zbar/decoder/zbar_libzbar_la-code128.lo zbar/decoder/zbar_libzbar_la-code39.lo zbar/decoder/zbar_libzbar_la-i25.lo  zbar/decoder/zbar_libzbar_la-qr_finder.lo zbar/qrcode/zbar_libzbar_la-qrdec.lo zbar/qrcode/zbar_libzbar_la-qrdectxt.lo zbar/qrcode/zbar_libzbar_la-rs.lo zbar/qrcode/zbar_libzbar_la-isaac.lo zbar/qrcode/zbar_libzbar_la-bch15_5.lo zbar/qrcode/zbar_libzbar_la-binarize.lo zbar/qrcode/zbar_libzbar_la-util.lo  zbar/processor/zbar_libzbar_la-posix.lo    zbar/video/zbar_libzbar_la-null.lo zbar/zbar_libzbar_la-jpeg.lo zbar/processor/zbar_libzbar_la-x.lo zbar/window/zbar_libzbar_la-x.lo zbar/window/zbar_libzbar_la-ximage.lo       -lSM -lICE -lX11     -ljpeg -lpthread 
libtool: link: /usr/bin/nm -B  zbar/.libs/zbar_libzbar_la-config.o zbar/.libs/zbar_libzbar_la-error.o zbar/.libs/zbar_libzbar_la-symbol.o zbar/.libs/zbar_libzbar_la-image.o zbar/.libs/zbar_libzbar_la-convert.o zbar/.libs/zbar_libzbar_la-processor.o zbar/processor/.libs/zbar_libzbar_la-lock.o zbar/.libs/zbar_libzbar_la-refcnt.o zbar/.libs/zbar_libzbar_la-window.o zbar/.libs/zbar_libzbar_la-video.o zbar/.libs/zbar_libzbar_la-img_scanner.o zbar/.libs/zbar_libzbar_la-scanner.o zbar/.libs/zbar_libzbar_la-decoder.o zbar/decoder/.libs/zbar_libzbar_la-ean.o zbar/decoder/.libs/zbar_libzbar_la-code128.o zbar/decoder/.libs/zbar_libzbar_la-code39.o zbar/decoder/.libs/zbar_libzbar_la-i25.o zbar/decoder/.libs/zbar_libzbar_la-qr_finder.o zbar/qrcode/.libs/zbar_libzbar_la-qrdec.o zbar/qrcode/.libs/zbar_libzbar_la-qrdectxt.o zbar/qrcode/.libs/zbar_libzbar_la-rs.o zbar/qrcode/.libs/zbar_libzbar_la-isaac.o zbar/qrcode/.libs/zbar_libzbar_la-bch15_5.o zbar/qrcode/.libs/zbar_libzbar_la-binarize.o zbar/qrcode/.libs/zbar_libzbar_la-util.o zbar/processor/.libs/zbar_libzbar_la-posix.o zbar/video/.libs/zbar_libzbar_la-null.o zbar/.libs/zbar_libzbar_la-jpeg.o zbar/processor/.libs/zbar_libzbar_la-x.o zbar/window/.libs/zbar_libzbar_la-x.o zbar/window/.libs/zbar_libzbar_la-ximage.o   | sed -n -e 's/^.*[	 ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[	 ][	 ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /bin/sed 's/.* //' | sort | uniq > zbar/.libs/libzbar.exp
libtool: link: /bin/grep -E -e "^(zbar|_zbar.*_error)_.*" "zbar/.libs/libzbar.exp" > "zbar/.libs/libzbar.expT"
libtool: link: mv -f "zbar/.libs/libzbar.expT" "zbar/.libs/libzbar.exp"
libtool: link: echo "{ global:" > zbar/.libs/libzbar.ver
libtool: link:  cat zbar/.libs/libzbar.exp | sed -e "s/\(.*\)/\1;/" >> zbar/.libs/libzbar.ver
libtool: link:  echo "local: *; };" >> zbar/.libs/libzbar.ver
libtool: link:  gcc -shared  zbar/.libs/zbar_libzbar_la-config.o zbar/.libs/zbar_libzbar_la-error.o zbar/.libs/zbar_libzbar_la-symbol.o zbar/.libs/zbar_libzbar_la-image.o zbar/.libs/zbar_libzbar_la-convert.o zbar/.libs/zbar_libzbar_la-processor.o zbar/processor/.libs/zbar_libzbar_la-lock.o zbar/.libs/zbar_libzbar_la-refcnt.o zbar/.libs/zbar_libzbar_la-window.o zbar/.libs/zbar_libzbar_la-video.o zbar/.libs/zbar_libzbar_la-img_scanner.o zbar/.libs/zbar_libzbar_la-scanner.o zbar/.libs/zbar_libzbar_la-decoder.o zbar/decoder/.libs/zbar_libzbar_la-ean.o zbar/decoder/.libs/zbar_libzbar_la-code128.o zbar/decoder/.libs/zbar_libzbar_la-code39.o zbar/decoder/.libs/zbar_libzbar_la-i25.o zbar/decoder/.libs/zbar_libzbar_la-qr_finder.o zbar/qrcode/.libs/zbar_libzbar_la-qrdec.o zbar/qrcode/.libs/zbar_libzbar_la-qrdectxt.o zbar/qrcode/.libs/zbar_libzbar_la-rs.o zbar/qrcode/.libs/zbar_libzbar_la-isaac.o zbar/qrcode/.libs/zbar_libzbar_la-bch15_5.o zbar/qrcode/.libs/zbar_libzbar_la-binarize.o zbar/qrcode/.libs/zbar_libzbar_la-util.o zbar/processor/.libs/zbar_libzbar_la-posix.o zbar/video/.libs/zbar_libzbar_la-null.o zbar/.libs/zbar_libzbar_la-jpeg.o zbar/processor/.libs/zbar_libzbar_la-x.o zbar/window/.libs/zbar_libzbar_la-x.o zbar/window/.libs/zbar_libzbar_la-ximage.o   -lSM -lICE -lX11 -ljpeg -lpthread    -Wl,-soname -Wl,libzbar.so.0 -Wl,-version-script -Wl,zbar/.libs/libzbar.ver -o zbar/.libs/libzbar.so.0.2.0
libtool: link: (cd "zbar/.libs" && rm -f "libzbar.so.0" && ln -s "libzbar.so.0.2.0" "libzbar.so.0")
libtool: link: (cd "zbar/.libs" && rm -f "libzbar.so" && ln -s "libzbar.so.0.2.0" "libzbar.so")
copying selected object files to avoid basename conflicts...
libtool: link: ln zbar/window/zbar_libzbar_la-x.o zbar/.libs/libzbar.lax/lt1-zbar_libzbar_la-x.o || cp zbar/window/zbar_libzbar_la-x.o zbar/.libs/libzbar.lax/lt1-zbar_libzbar_la-x.o
libtool: link: ar cru zbar/.libs/libzbar.a zbar/zbar_libzbar_la-config.o zbar/zbar_libzbar_la-error.o zbar/zbar_libzbar_la-symbol.o zbar/zbar_libzbar_la-image.o zbar/zbar_libzbar_la-convert.o zbar/zbar_libzbar_la-processor.o zbar/processor/zbar_libzbar_la-lock.o zbar/zbar_libzbar_la-refcnt.o zbar/zbar_libzbar_la-window.o zbar/zbar_libzbar_la-video.o zbar/zbar_libzbar_la-img_scanner.o zbar/zbar_libzbar_la-scanner.o zbar/zbar_libzbar_la-decoder.o zbar/decoder/zbar_libzbar_la-ean.o zbar/decoder/zbar_libzbar_la-code128.o zbar/decoder/zbar_libzbar_la-code39.o zbar/decoder/zbar_libzbar_la-i25.o zbar/decoder/zbar_libzbar_la-qr_finder.o zbar/qrcode/zbar_libzbar_la-qrdec.o zbar/qrcode/zbar_libzbar_la-qrdectxt.o zbar/qrcode/zbar_libzbar_la-rs.o zbar/qrcode/zbar_libzbar_la-isaac.o zbar/qrcode/zbar_libzbar_la-bch15_5.o zbar/qrcode/zbar_libzbar_la-binarize.o zbar/qrcode/zbar_libzbar_la-util.o zbar/processor/zbar_libzbar_la-posix.o zbar/video/zbar_libzbar_la-null.o zbar/zbar_libzbar_la-jpeg.o zbar/processor/zbar_libzbar_la-x.o zbar/.libs/libzbar.lax/lt1-zbar_libzbar_la-x.o zbar/window/zbar_libzbar_la-ximage.o
ar: `u' modifier ignored since `D' is the default (see `U')
libtool: link: ranlib zbar/.libs/libzbar.a
libtool: link: rm -fr zbar/.libs/libzbar.lax
libtool: link: ( cd "zbar/.libs" && rm -f "libzbar.la" && ln -s "../libzbar.la" "libzbar.la" )
gcc -DHAVE_CONFIG_H -I. -I./include  -fopenmp -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -fopenmp -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/local/include/ImageMagick-7 -I./include  -Wall -Wno-parentheses  -MT zbarimg/zbarimg_zbarimg-zbarimg.o -MD -MP -MF zbarimg/.deps/zbarimg_zbarimg-zbarimg.Tpo -c -o zbarimg/zbarimg_zbarimg-zbarimg.o `test -f 'zbarimg/zbarimg.c' || echo './'`zbarimg/zbarimg.c
mv -f zbarimg/.deps/zbarimg_zbarimg-zbarimg.Tpo zbarimg/.deps/zbarimg_zbarimg-zbarimg.Po
/bin/bash ./libtool --tag=CC   --mode=link gcc -Wall -Wno-parentheses    -o zbarimg/zbarimg zbarimg/zbarimg_zbarimg-zbarimg.o  -L/usr/local/lib -lMagickWand-7.Q16HDRI -lMagickCore-7.Q16HDRI zbar/libzbar.la  -ljpeg -lpthread 
libtool: link: gcc -Wall -Wno-parentheses -o zbarimg/.libs/zbarimg zbarimg/zbarimg_zbarimg-zbarimg.o  -L/usr/local/lib /usr/local/lib/libMagickWand-7.Q16HDRI.so /usr/local/lib/libMagickCore-7.Q16HDRI.so /usr/lib/x86_64-linux-gnu/libfreetype.so -lpng16 -lfontconfig -lXext -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lcairo -lz -lm -lgomp zbar/.libs/libzbar.so -lSM -lICE -lX11 /usr/local/lib/libjpeg.so -lpthread -pthread -fopenmp
make[1]: Leaving directory '/home/mingc/Downloads/qrcode/zbar-0.10'

谷歌翻遍了,結果只有純文本格式的 log 日志,這我還是第一次見到~~直到晚上,我放棄了谷歌。回到源頭,在嘗試改了幾處錯誤后,我懵了~~百思不得其姐,這搞不下去了。然后我清掉了整個編譯目錄,重新解了 zbar 的 tar.gz 包。重來。

執行了 ./configure,然后抱著撞大運的態度執行了 make。不出所料,還是那好長一串串的錯誤消息。心累……

我盯著屏幕發了會兒呆,手也不自覺地又敲了個 m、a、k、e,回車——

mingc@mingc-GE60-2PL:~/Downloads/qrcode/zbar-0.10$ make
make  all-am
make[1]: Entering directory '/home/mingc/Downloads/qrcode/zbar-0.10'
make[1]: Leaving directory '/home/mingc/Downloads/qrcode/zbar-0.10'

誒?這什么?等等,好像不對……這是……好了?

趕快趁熱 make install!

mingc@mingc-GE60-2PL:~/Downloads/qrcode/zbar-0.10$ sudo make install
[sudo] mingc 的密碼: 
make  install-am
make[1]: Entering directory '/home/mingc/Downloads/qrcode/zbar-0.10'
make[2]: Entering directory '/home/mingc/Downloads/qrcode/zbar-0.10'
test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"/bin/bash ./libtool   --mode=install /usr/bin/install -c  'zbar/libzbar.la' '/usr/local/lib/libzbar.la'
libtool: install: /usr/bin/install -c zbar/.libs/libzbar.so.0.2.0 /usr/local/lib/libzbar.so.0.2.0
libtool: install: (cd /usr/local/lib && { ln -s -f libzbar.so.0.2.0 libzbar.so.0 || { rm -f libzbar.so.0 && ln -s libzbar.so.0.2.0 libzbar.so.0; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libzbar.so.0.2.0 libzbar.so || { rm -f libzbar.so && ln -s libzbar.so.0.2.0 libzbar.so; }; })
libtool: install: /usr/bin/install -c zbar/.libs/libzbar.lai /usr/local/lib/libzbar.la
libtool: install: /usr/bin/install -c zbar/.libs/libzbar.a /usr/local/lib/libzbar.a
libtool: install: chmod 644 /usr/local/lib/libzbar.a
libtool: install: ranlib /usr/local/lib/libzbar.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:/usr/local/libIf you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:- add LIBDIR to the `LD_LIBRARY_PATH' environment variableduring execution- add LIBDIR to the `LD_RUN_PATH' environment variableduring linking- use the `-Wl,-rpath -Wl,LIBDIR' linker flag- have your system administrator add LIBDIR to `/etc/ld.so.conf'See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"/bin/bash ./libtool   --mode=install /usr/bin/install -c 'zbarimg/zbarimg' '/usr/local/bin/zbarimg'
libtool: install: /usr/bin/install -c zbarimg/.libs/zbarimg /usr/local/bin/zbarimg
test -z "" || /bin/mkdir -p ""
test -z "/usr/local/share/doc/zbar" || /bin/mkdir -p "/usr/local/share/doc/zbar"/usr/bin/install -c -m 644 'COPYING' '/usr/local/share/doc/zbar/COPYING'/usr/bin/install -c -m 644 'HACKING' '/usr/local/share/doc/zbar/HACKING'/usr/bin/install -c -m 644 'INSTALL' '/usr/local/share/doc/zbar/INSTALL'/usr/bin/install -c -m 644 'LICENSE' '/usr/local/share/doc/zbar/LICENSE'/usr/bin/install -c -m 644 'NEWS' '/usr/local/share/doc/zbar/NEWS'/usr/bin/install -c -m 644 'README' '/usr/local/share/doc/zbar/README'/usr/bin/install -c -m 644 'TODO' '/usr/local/share/doc/zbar/TODO'
test -z "/usr/local/include" || /bin/mkdir -p "/usr/local/include"/usr/bin/install -c -m 644 'include/zbar.h' '/usr/local/include/zbar.h'
test -z "/usr/local/share/man/man1" || /bin/mkdir -p "/usr/local/share/man/man1"/usr/bin/install -c -m 644 'doc/man/zbarimg.1' '/usr/local/share/man/man1/zbarimg.1'
test -z "/usr/local/lib/pkgconfig" || /bin/mkdir -p "/usr/local/lib/pkgconfig"/usr/bin/install -c -m 644 'zbar.pc' '/usr/local/lib/pkgconfig/zbar.pc'
test -z "/usr/local/share/zbar" || /bin/mkdir -p "/usr/local/share/zbar"
test -z "/usr/local/include/zbar" || /bin/mkdir -p "/usr/local/include/zbar"/usr/bin/install -c -m 644 'include/zbar/Scanner.h' '/usr/local/include/zbar/Scanner.h'/usr/bin/install -c -m 644 'include/zbar/Decoder.h' '/usr/local/include/zbar/Decoder.h'/usr/bin/install -c -m 644 'include/zbar/Exception.h' '/usr/local/include/zbar/Exception.h'/usr/bin/install -c -m 644 'include/zbar/Symbol.h' '/usr/local/include/zbar/Symbol.h'/usr/bin/install -c -m 644 'include/zbar/Image.h' '/usr/local/include/zbar/Image.h'/usr/bin/install -c -m 644 'include/zbar/ImageScanner.h' '/usr/local/include/zbar/ImageScanner.h'/usr/bin/install -c -m 644 'include/zbar/Video.h' '/usr/local/include/zbar/Video.h'/usr/bin/install -c -m 644 'include/zbar/Window.h' '/usr/local/include/zbar/Window.h'/usr/bin/install -c -m 644 'include/zbar/Processor.h' '/usr/local/include/zbar/Processor.h'
make[2]: Leaving directory '/home/mingc/Downloads/qrcode/zbar-0.10'
make[1]: Leaving directory '/home/mingc/Downloads/qrcode/zbar-0.10'

這好像就裝上了,這么棒。不行我還得檢查一下

mingc@mingc-GE60-2PL:~/Downloads/qrcode/zbar-0.10$ zbarimg --version
0.10

(⊙v⊙)嗯,用 zbar 的命令行接口?zbarimg?,試一下我剛做的二維碼電子名片

mingc@mingc-GE60-2PL:~/Downloads/qrcode/zbar-0.10$ zbarimg ~/Downloads/qrcode_vcard.png 
QR-Code:BEGIN:VCARD
VERSION:2.1
N:Jin;mingc
FN:mingc
ORG:free man
TITLE:PHPer
TEL;WORK;VOICE:1382173xxxx
TEL;HOME;VOICE:1383284xxxx
ADR;WORK;TianJin, China
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:TianJin, China(LABEL;WORK)
ADR;HOME;TianJin, China
LABEL;HOME;ENCODING=QUOTED-PRINTABLE:TianJin, China(LABEL;HOME)
EMAIL;PREF;INTERNET:name@example.com
REV:20171201T005548Z
END:VCARD
scanned 1 barcode symbols from 1 images in 0.02 seconds

完全可以。總之,裝上了。

不過這兩次 make 其中的道理還是不太明白的,就留待以后了,有時間再系統整理一下編譯時候的一些簡單原理,暫且這么記下~

?

轉載于:https://www.cnblogs.com/mingc/p/7945733.html

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/news/453968.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/453968.shtml
英文地址,請注明出處:http://en.pswp.cn/news/453968.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

python數組的乘法_在Python中乘法非常大的2D數組

我必須在Python中將非常大的2D數組乘以大約100次.每個矩陣由3200032000元素組成.我正在使用np.dot(X,Y),但是每次乘法都需要很長時間…在我的代碼實例下面:import numpy as npX Nonefor i in range(100)multiplying Trueif X None:X generate_large_2darray()mu…

0階指數哥倫布編碼

指數哥倫布編碼 規定語法元素的編解碼模式的描述符如下: 比特串: b(8):任意形式的8比特字節(就是為了說明語法元素是為8個比特,沒有語法上的含義) f(n):n位固定模式比特串(其值固定,如forbidde…

TensorFolw 報錯

1、報錯1&#xff1a;ValueError: Only call softmax_cross_entropy_with_logits with named arguments (labels..., logits..., ...) 提示出錯如下&#xff1a; Traceback (most recent call last):File "/MNIST/softmax.py", line 12, in <module>cross_en…

CentOS7種搭建FTP服務器

安裝vsftpd 首先要查看你是否安裝vsftp [rootlocalhost /]# rpm -q vsftpd vsftpd-3.0.2-10.el7.x86_64 #顯示也就安裝成功了&#xff01; 如果沒有則安裝vsftpd [rootlocalhost/]# yum install -y vsftpd 完成后再檢查一遍 [rootlocalhost /]# whereis vsftpd vsf…

js循環

順序——要加分號結束 分支&#xff1a;讓程序根據條件不同執行不同的代碼 if else語句用來做分支的 if&#xff08;條件&#xff09;{代碼} if&#xff08;條件&#xff09;{代碼}else{代碼} else if&#xff08;條件&#xff09;{代碼} if是嵌套。 switch...case&#xff1…

x264函數調用關系圖

1 encoder 2 slice write 3 analyse FFMPEG中MPEG-2編解碼函數調用關系圖 1 Encoder &#xff08;函數調用從左到右&#xff0c;下同&#xff1b;圖片顯示不全時&#xff0c;請下載顯示&#xff09; 2 P幀運動估計流程圖 3 B幀運動估計流程圖 4 decoder ffmpeg的mpeg2編碼I幀代…

Tensorflow 加載預訓練模型和保存模型

使用tensorflow過程中&#xff0c;訓練結束后我們需要用到模型文件。有時候&#xff0c;我們可能也需要用到別人訓練好的模型&#xff0c;并在這個基礎上再次訓練。這時候我們需要掌握如何操作這些模型數據。看完本文&#xff0c;相信你一定會有收獲&#xff01; 一、Tensorfl…

在 ActiveReports 中嵌入 Spread 控件

Spread 是一款很出色的表格控件&#xff0c;Spread 可以使開發人員把具有兼容 Microsoft Excel 的電子表格添加到程序中。ActiveReports 提供了一個非常靈活的、簡單的報表環境。下面將展示怎樣在 ActiveReports 中使用 Spread for WinForm。和其他三方控件一樣&#xff0c;Spr…

sort()函數、C++

Sort&#xff08;&#xff09;函數是c一種排序方法之一&#xff0c;它使用的排序方法是類似于快排的方法&#xff0c;時間復雜度為n*log2(n) &#xff08;1&#xff09;Sort函數包含在頭文件為#include<algorithm>的c標準庫中。 II&#xff09;Sort函數有三個參數&#x…

python waitkey_python中VideoCapture(),read(),waitKey()的使用

有以下程序import cv2cap cv2.VideoCapture(0)while cap.isOpened():ret,frame cap.read()cv2.imshow(frame,frame)c cv2.waitKey(1)if c 27:breakcap.release()cv2.destroyAllWindows()說明&#xff1a;程序段里&#xff0c;1、cv2.VideoCapture()函數&#xff1a;cap cv…

深度學習案例之 驗證碼識別

本項目介紹利用深度學習技術&#xff08;tensorflow&#xff09;&#xff0c;來識別驗證碼&#xff08;4位驗證碼&#xff0c;具體的驗證碼的長度可以自己生成&#xff0c;可以在自己進行訓練&#xff09; 程序分為四個部分 1、生成驗證碼的程序&#xff0c;可生成數字字母大…

windows下使用pthread庫

最近在看《C多核高級編程》這本書&#xff0c;收集了些有用的東西&#xff0c;方便在windows下使用POSIX標準進行Pthread開發&#xff0c;有利于跨平臺。 -------------------------------------------------- windows下使用pthread庫時間:2010-01-27 07:41來源:羅索工作室 作…

day 05 多行輸出與多行注釋、字符串的格式化輸出、預設創建者和日期

msg"hello1 hello2 hello3 " print(msg) 顯示結果為&#xff1a; # " "只能進行單行的字符串 多行字符串用 ,前面設置變量&#xff0c;可以用 表示多行 msghello1 hello2 hello3print(msg) 顯示結果為&#xff1a; 當然如果沒有設置變量&#xff0c;…

python數值計算guess_【python】猜數字game,旨在提高初學者對Python循環結構的使用...

import random #引入生成隨機數的模塊需求&#xff1a;程序設定生成 1-20 之間的一個隨機數&#xff0c;讓用戶猜日期&#xff1a;2019-10-21作者&#xff1a;xiaoxiaohui目的&#xff1a;猜數字game&#xff0c;旨在提高初學者對Python 變量類型以及循環結構的使用。secretNu…

調試九法-總體規則

調試規則規則1 理解系統規則2 制造失敗規則3 不要想&#xff0c;而要看規則4 分而治之規則5 一次只改一個地方規則6 保持審計跟蹤規則7 檢查插頭規則8 獲得全新觀點規則9 如果你不修復bug&#xff0c;它將依然存在轉載于:https://www.cnblogs.com/uetucci/p/7987805.html

深度學習之循環神經網絡(Recurrent Neural Network,RNN)

遞歸神經網絡和循環神經網絡 循環神經網絡&#xff08;recurrent neural network&#xff09;&#xff1a;時間上的展開&#xff0c;處理的是序列結構的信息&#xff0c;是有環圖遞歸神經網絡&#xff08;recursive neural network&#xff09;&#xff1a;空間上的展開&#…

從北京回來的年輕人,我該告訴你點什么?

前言 就在上周末&#xff0c;我與公眾號里的一個當地粉絲見面了&#xff0c;一起吃了頓飯&#xff0c;順便聊了聊。先來簡單交代下我們這位粉絲&#xff08;以下簡稱小L&#xff09;的經歷以及訴求。 小L之前在北京八維研修學院培訓的PHP&#xff0c;因為家庭原因&#xff0c;沒…

Linphone編譯【轉載】

Linphone依賴太多的庫&#xff0c;以致于稍有疏失&#xff0c;就會在編譯&#xff0c;運行出錯&#xff0c;都是由于依賴庫安裝的問題。 1 基礎知識 1.1 動態庫的連接 很多人安裝完庫后&#xff0c;configure依然報告這個庫沒有。這是對linux動態庫知識匱乏造成&#xff0c;也就…

python助教的面試題_python面試題----持續更新中

為什么學習Python&#xff1f;通過什么途徑學習的Python&#xff1f;Python和Java、PHP、C、C#、C等其他語言的對比&#xff1f;python 解釋型語言&#xff0c;語法簡潔優雅。C C 編譯型語言&#xff0c;先編譯后運行&#xff0c;偏底層。簡述解釋型和編譯型編程語言&#xff1…

python3模塊: requests

Python標準庫中提供了&#xff1a;urllib等模塊以供Http請求&#xff0c;但是&#xff0c;它的 API 太渣了。它是為另一個時代、另一個互聯網所創建的。它需要巨量的工作&#xff0c;甚至包括各種方法覆蓋&#xff0c;來完成最簡單的任務。 發送GET請求 import urllib.requestf…