hello,
please help to crosscompile your app,
at first i'm make and activate (use export) cpu toolchain,
next i'm make build as i686 linux by default,
and correct CMakeCCompiler.cmake and CMakeCXXCompile.cmake ( make changes about new compile and ar,ld, and other like this arm-linux-gcc)
then i'm compile and install at /usr/local/lib iconv library compiled by arm,
at now if i'm make software get this text:
root@ubuntu:/home/zxing-cpp-master/build# make
[ 1%] Building CXX object CMakeFiles/libzxing.dir/core/src/zxing/aztec/decoder/Decoder.cpp.o
/home/zxing-cpp-master/core/src/zxing/aztec/decoder/Decoder.cpp:24:19: error: iconv.h: No such file or directory
/home/zxing-cpp-master/core/src/zxing/aztec/decoder/Decoder.cpp: In function 'void::add(std::string&, char)':
/home/zxing-cpp-master/core/src/zxing/aztec/decoder/Decoder.cpp:53: error: 'iconv_t' was not declared in this scope
/home/zxing-cpp-master/core/src/zxing/aztec/decoder/Decoder.cpp:53: error: expected `;' before 'ic'
/home/zxing-cpp-master/core/src/zxing/aztec/decoder/Decoder.cpp:54: error: 'ic' was not declared in this scope
/home/zxing-cpp-master/core/src/zxing/aztec/decoder/Decoder.cpp:54: error: 'iconv' was not declared in this scope
/home/zxing-cpp-master/core/src/zxing/aztec/decoder/Decoder.cpp:55: error: 'iconv_close' was not declared in this scope
make[2]: * [CMakeFiles/libzxing.dir/core/src/zxing/aztec/decoder/Decoder.cpp.o] Error 1
make[1]: * [CMakeFiles/libzxing.dir/all] Error 2
make: *\ [all] Error 2
how to agree compiled library and doing next?
Thank's
hello, please help to crosscompile your app, at first i'm make and activate (use export) cpu toolchain, next i'm make build as i686 linux by default, and correct CMakeCCompiler.cmake and CMakeCXXCompile.cmake ( make changes about new compile and ar,ld, and other like this arm-linux-gcc) then i'm compile and install at /usr/local/lib iconv library compiled by arm, at now if i'm make software get this text: root@ubuntu:/home/zxing-cpp-master/build# make [ 1%] Building CXX object CMakeFiles/libzxing.dir/core/src/zxing/aztec/decoder/Decoder.cpp.o /home/zxing-cpp-master/core/src/zxing/aztec/decoder/Decoder.cpp:24:19: error: iconv.h: No such file or directory /home/zxing-cpp-master/core/src/zxing/aztec/decoder/Decoder.cpp: In function 'void::add(std::string&, char)':
/home/zxing-cpp-master/core/src/zxing/aztec/decoder/Decoder.cpp:53: error: 'iconv_t' was not declared in this scope
/home/zxing-cpp-master/core/src/zxing/aztec/decoder/Decoder.cpp:53: error: expected `;' before 'ic'
/home/zxing-cpp-master/core/src/zxing/aztec/decoder/Decoder.cpp:54: error: 'ic' was not declared in this scope
/home/zxing-cpp-master/core/src/zxing/aztec/decoder/Decoder.cpp:54: error: 'iconv' was not declared in this scope
/home/zxing-cpp-master/core/src/zxing/aztec/decoder/Decoder.cpp:55: error: 'iconv_close' was not declared in this scope
make[2]: * [CMakeFiles/libzxing.dir/core/src/zxing/aztec/decoder/Decoder.cpp.o] Error 1
make[1]: * [CMakeFiles/libzxing.dir/all] Error 2
make: *\ [all] Error 2
how to agree compiled library and doing next? Thank's