fmartinez:
Ok.Then thing is the following the steps of the Link that Jesse posted it doesn't work at all. Because Zbar doesn't have any CMakeList.txt file.
I decided (even without knowing if I am doing it well), to follow the steps that OpenWrt website provides at: Cross Compile [Old OpenWrt Wiki].
::::SNIP::::
That is mostly what I expected. Then I type "Make", get next error:
/bin/bash ./libtool --tag=CC --mode=compile mips-openwrt-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -g -O2 -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: mips-openwrt-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -g -O2 -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
zbar/qrcode/qrdectxt.c:9:19: fatal error: iconv.h: No such file or directory
compilation terminated.
make[1]: *** [zbar/qrcode/zbar_libzbar_la-qrdectxt.lo] Error 1
make[1]: se sale del directorio «/home/fmartinez/WR703N_zbar/zbar-0.10»
make: *** [all] Error 2
In the code above, this is your error:
zbar/qrcode/qrdectxt.c:9:19: fatal error: iconv.h: No such file or directory
The file is missing, or the file is in the wrong place.
- Find file.
- Put somewhere compiler can find.
Jesse