Open wrapperband opened 8 years ago
build zxing-cpp like this:
mkdir zxing && cd zxing
git clone https://github.com/glassechidna/zxing-cpp.git
cd zxing-cpp/
ls
mkdir build
cd build/
export CXXFLAGS="-fPIC"
cmake -G "Unix Makefiles" -DCMAKE_CXX_FLAGS=-D_GLIBCXX_USE_CXX11_ABI=0 -DCMAKE_BUILD_TYPE=Release ..
make && sudo make install
I am trying to build zxipg to use in out application (Feathercoin). Something has happened in Ubuntu 16.04, where our usual build from source has failed (although we already moved over to Qt5) it seems to an issue with -
or =1 , which needs to be set the same for both builds, I get the error message :
The method which worked before, copying compiled zxing headers to /src/zxing/ sub directory/
we now get error :
src/qt/snapwidget.cpp:71: undefined reference to `zxing::String::getText[abi:cxx11]() const'