Raspberry Pi QT RC522 Library Error
-
I'm developing an application for raspberry pi using qt. I found such a library for RFID card reader.
https://github.com/paguz/RPi-RFIDI made the necessary settings, I can get build but I don't understand what the problem is.
My pro file
INCLUDEPATH += /home/dev/raspi/sysroot/usr/include LIBS += -L/home/dev/raspi/sysroot/usr/lib LIBS += -L/home/dev/raspi/sysroot/usr/local/lib LIBS += -lwiringPi LIBS += -lbcm2835 SOURCES += \ MFRC522.cpp \ fingerprint.cpp \ main.cpp \ movement.cpp \ rfid.cpp HEADERS += \ MFRC522.h \ bcm2835.h \ fingerprint.h \ movement.h \ pins.h \ rfid.h
-
@SGaist i hope you can help me
-
Hi,
Interseting. I tested it on Rasbian and #included <string> line has not error.
Please could you delete all your compile directory and build again?Because when I get strange error like yours, I delete all buld directory and it goes. :)
By the way I will try Rpi-Rfid library. ;)
Regards,
Mucip:) -
I don't include c++ headers
-
@NullByte said in Raspberry Pi QT RC522 Library Error:
I don't include c++ headers
MFRC522.h does.
Can you copy/paste the whole build log here (as text)? -
It's solved! Thanks
-
@NullByte said in Raspberry Pi QT RC522 Library Error:
It's solved! Thanks
would you mind sharing how it is solved? For the benefit of other community members...