1.zbarソースコードをLinuxarmまたはmipsアーキテクチャ機器に移植します。(既存のプラットフォーム)
2.カメラの電源を入れ、QRコード認識のためにzbarアルゴリズムを実行します。
ソース・コード:wgetの のhttp://downloads.sourceforge.net/project/zbar/zbar/0.10/zbar-0.10.tar.gz
解凍後に実行します。
./configure --prefix=$(pwd)/ISVP_lib --enable-shared --enable-static --without-imagemagick --without-jpeg --without-python --without-gtk --without-qt --disable-video --host=mips-linux-uclibc CC=/opt/mips-gcc472-glibc216-64bit/bin/mips-linux-uclibc-gnu-gcc CXX=/opt/mips-gcc472-glibc216-64bit/bin/mips-linux-uclibc-gnu-g++ --with-pic=noCFLAGS="-O3 -ffunction-sections -fdata-sections" LDFLAGS="-Wl,--gc-sections"
make && make install
エラーは次のとおりです。
./libtool:61行目:-ffunction-sections:コマンドが見つかりません
./configure --prefix=$(pwd)/ISVP_lib --enable-shared --enable-static --without-imagemagick --without-jpeg --without-python --without-gtk --without-qt --disable-video --host=mips-linux-uclibc CC=/opt/mips-gcc472-glibc216-64bit/bin/mips-linux-uclibc-gnu-gcc CXX=/opt/mips-gcc472-glibc216-64bit/bin/mips-linux-uclibc-gnu-g++
make && make install
エラーは次のとおりです。
エクスポートを増やすNM = nm
次に、上記の操作を実行し、OKをコンパイルします