编译安装 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 warning
- if(!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 warning
- if(!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 warning
- if(!_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 warning
- if(!_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 warning
- if(!_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 warning
- if(!_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 warning
- if(!_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/lib
- If 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 variable
- during execution
- - add LIBDIR to the `LD_RUN_PATH' environment variable
- during 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 其中的道理还是不太明白的,就留待以后了,有时间再系统整理一下编译时候的一些简单原理,暂且这么记下~
编译安装 zbar 时两次 make 带来的惊喜的更多相关文章
- 编译安装PHP 时遇到问题解决方法.
编译安装PHP时出现下面的错误代码: error 2 checking for pkg-config... /usr/bin/pkg-config configure: error: Cannot f ...
- 编译安装php时遇到virtual memory exhausted: Cannot allocate memory
有时候用vps建站时需要通过编译的方式来安装主机控制面板.对于大内存的VPS来说一般问题不大,但是对于小内存,比如512MB内存的godaddy VPS来说,很有可能会出现问题,因为编译过程是一个内存 ...
- windows平台python 2.7环境编译安装zbar
最近一个项目需要识别二维码,找来找去找到了zbar和zxing,中间越过无数坑,总算基本上弄明白,分享出来给大家. 一.zbar官方介绍 ZBar 是款桌面电脑用条形码/二维码扫描工具,支持摄像头及图 ...
- 编译安装nginx时配置开机自启
详细编译安装nginx请参考[Nginx目录结构与配置文件详解]以及[Nginx安装部署],在这里就进行简单安装 安装Nginx 环境介绍 操作系统: [root@localhost ~]# cat ...
- 编译安装php时提示Cannot find MySQL header files的解决方法
php的配置文件中有一行--with-mysql=/usr/local/mysql ,安装的时候提示:configure: error: Cannot find MySQL header files ...
- 【转】解决编译安装NGINX时make报错
编译参数:--[root@localhostnginx-1.4.6]#./configure--user=nginx--group=nginx--prefix=/usr/local/nginx--wi ...
- 使用git bash编译安装sysbench时遇到的坑
Preface When I was compiling the sysbench just now,I encountered some failures in the preced ...
- linux软件管理之------编译安装nginx服务器并手动编写自动化运行脚本
红帽系列的 linux软件管理分为三类:1. rpm 安装软件.2. yum 安装软件.3. 源码包编译安装.前面两种会在相关专题给出详细讲解.源码包的编译安装是非常关键的,我们知道linux的相关版 ...
- CentOS7编译安装Keepalived2.0.19
实验环境:centos7 节点1:10.15.192.21 节点2:10.15.192.22 vip地址:10.15.192.23 1.下载文件 cd /usr/local/src wget http ...
随机推荐
- 【比赛】NOIP2017 奶酪
开始看到题以为是计算几何,后面发现不是,然后秒掉了. 可能写SPFA写多了,别人都是并查集做的,我用的是SPFA. 不过无所谓,我们把题目中的下底面和上表面看成两个点,那么就是求这两个点的连通性,如果 ...
- 【转】arm-none-linux-gnueabi-gcc下载
arm-none-linux-gnueabi-gcc是 Codesourcery 公司(目前已经被Mentor收购)基于GCC推出的的ARM交叉编译工具.可用于交叉编译ARM系统中所有环节的代码,包括 ...
- 【poj3294】 Life Forms
http://poj.org/problem?id=3294 (题目链接) 题意 给定 n 个字符串,求出现在不小于 k 个字符串中的最长子串. Solution 后缀数组论文题.. 将 n 个字符串 ...
- fzyzojP1876 天津——泥人张
思路一: 考虑lucas定理,mod 4意义下,每一个组合数都不能是0 所以,把n变成四进制数,然后数位dp即可 f[i][0/1][0/1/2/3]表示,前i位,有没有限制,mod 4 的值是0/1 ...
- RF - selenium - open browser
*** Settings ***Library Selenium2Library *** Test Cases ***Open baidu with Chrome Open Browser http: ...
- C++ 文本查询2.0(逻辑查询)
代码实例实现了继承和友元之间的关系,以及为了隐藏实际继承实现,而实现的接口类,代码偏乱,楼主- -自看的(提醒作用) TextQuery.h // // Created by 徐爱东 on 17/7/ ...
- 读论文《BP改进算法在哮喘症状-证型分类预测中的应用》
总结: 一.研究内容 本文研究了CAL-BP(基于隐层的竞争学习与学习率的自适应的改进BP算法)在症状证型分类预测中的应用. 二.算法思想 1.隐层计算完各节点的误差后,对有最大误差的节点的权值进行正 ...
- 【题解】打地鼠 SDOI2011 模拟 行列无关
Prelude 为什么洛谷上的题解都是剪枝做的啊!就没有人写复杂度靠谱的算法吗! 传送到洛谷:( ̄. ̄) 传送到BZOJ:( ´・・)ノ(._.`) 本篇博客地址:o(><:)oo Sol ...
- P2243 电路维修
P2243 电路维修 题目背景 Elf 是来自Gliese 星球的少女,由于偶然的原因漂流到了地球上.在她无依无靠的时候,善良的运输队员Mark 和James 收留了她.Elf 很感谢Mark和Jam ...
- 转:EasyJSWebView
EasyJSWebView 是类似 Android javascriptInterface 的 uiwebview js 调用原生代码框架 示例代码: 先建一个MyJSInterface接口 @in ...