I'm having some troubles using the C++ sources from the Zxing project. I downloaded the whole project from https://code.google.com/p/zxing/downloads/list and just took the cpp files (core and cli), then integrated them into my project.
I just would like to have a method like that:
decode(byte[] dataToDecode, int widthFrame, int heightFrame)
but I really don't know how to do it (I'm really new to c++ and Zxing project). Data to decode will, in a near future, come from the Android QRCode client.
I've done some researches on the web and found http://wiki.ssrrsummerschool.org/doku.php?id=robocup2012:qrcode-cppexample which was exactly what I needed. I've managed this code to compile due to the implementation of the ArrayRef template instead of unsigned char *.
Unfortunately, my program is now crashing in the class Array.h:
operator bool () const {
return array_ != 0;
}
Help would be really appreciated,
Thanks for your time,