You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was able to use QZXing on a Ubuntu 20.04.6 LTS and decode various type of printed barcode (e.g. EAN 13, QR-code, data matrix code) using the webcam of my laptop (i.e. Chicony USB 2.0 webcam). The QZXing worked well, and I didn't have an issue during installation.
I was also able to compile and run the following examples provided in "[...]/qzxing-master/examples" : QZXingDragNDropTest and BarcodeEncoder.
However, for QZXingLive, although I was able to run qmake, running make failed and gave the following error message:
usr/bin/ld: application.o: in function 'Application::Application()':
application.cpp:(.text+0x234): undefined reference to 'NativeHelpers::application_p_'
collect2: error: ld returned 1 exit status
make: *** [Makefile:753: QZXingLive] Error 1
I have not modified anything in "[...]/qzxing-master/examples/QZXingLive", except of course running qmake and make.
Does anyone out there did came across this problem and was able to fix it?
I am using a Ubuntu 20.04.6 LTS, the C++ compiler is GNU g++ 4:9.3.0-1ubuntu2 amd64, and the QMake version is 3.1 using Qt version 5.12.8 in /usr/lib/x86_64-linux-gnu.
Let me know if additional information would be helpful.
The text was updated successfully, but these errors were encountered:
Hello, I also encountered the same problem, and this is how I solved it. QZXingLive.pro includes native. h and native. cpp conditionally (target is Android and qt version less than 6.2) from lines 35 to 39. Since the target you are compiling is Linux, navtive. h, and navtive. cpp are not included in the compilation list, the compiler cannot find them. Add these two files to HEADERS and SOURCES to compile them successfully. As follows
Hi,
I was able to use QZXing on a Ubuntu 20.04.6 LTS and decode various type of printed barcode (e.g. EAN 13, QR-code, data matrix code) using the webcam of my laptop (i.e. Chicony USB 2.0 webcam). The QZXing worked well, and I didn't have an issue during installation.
I was also able to compile and run the following examples provided in "[...]/qzxing-master/examples" : QZXingDragNDropTest and BarcodeEncoder.
However, for QZXingLive, although I was able to run qmake, running make failed and gave the following error message:
I looked in the issues here https://github.com/ftylitak/qzxing/issues and elsewhere, but I have not seen that someone had a similar issue previously when compiling QZXingLive.
I have not modified anything in "[...]/qzxing-master/examples/QZXingLive", except of course running qmake and make.
Does anyone out there did came across this problem and was able to fix it?
I am using a Ubuntu 20.04.6 LTS, the C++ compiler is GNU g++ 4:9.3.0-1ubuntu2 amd64, and the QMake version is 3.1 using Qt version 5.12.8 in /usr/lib/x86_64-linux-gnu.
Let me know if additional information would be helpful.
The text was updated successfully, but these errors were encountered: