This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

ZBAR library for AM335

I'm trying to cross compile and execute a program with zbar library (a well known QR decoder library), When I execute the program in variscite I get this error:

./tcross3: error while loading shared libraries: /mnt/usrcross/lib/libzbar.so.0: internal error

LD_LIBRARY_PATH is set to the libzbar path, that is compiled in 32 bits architecture for ARM.

I tried also libdecodeqr and zxing (C libraries), but i couldn't compile them with opencv.

Any idea?

Thanks

  • Which linux SDK are you using? Also which AM335x board (GP EVM, StarterKit, BBB or a custom design)?

    How do yo integrate this library? Try adding: github.com/.../zbar_0.8.bb & rebuild the AM335x SDK.

    Best Regards,
    Yordan
  • My device is a VAR-SOM-AM33 Development kit, with a TI Sitara AM335x ARM Cortex A8 System-On-Module. The SDK was downloaded from variscite web, its name is linux-3.2.0-sdk06.00.00.00.var_r13_1. ZBar (v 0.10), along with opencv and libjpeg, were compiled with the arm-linux-gnueabi-gcc compiler from this SDK.

    I have just formatted and started again from the beginning, many systems (yocto, arago toolchain, linaro toolchain, buildproject...) were installed and maybe there were conflicts because of that.

    Thanks, I will rebuild and check that recipe for zbar.