Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Raspberry Pi QT RC522 Library Error
Forum Updated to NodeBB v4.3 + New Features

Raspberry Pi QT RC522 Library Error

Scheduled Pinned Locked Moved Solved Installation and Deployment
7 Posts 4 Posters 967 Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    I'm developing an application for raspberry pi using qt. I found such a library for RFID card reader.
    https://github.com/paguz/RPi-RFID

    I 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
    
    

    alt text

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      @SGaist i hope you can help me

      1 Reply Last reply
      0
      • MucipM Offline
        MucipM Offline
        Mucip
        wrote on last edited by
        #3

        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:)

        1 Reply Last reply
        0
        • ? Offline
          ? Offline
          A Former User
          wrote on last edited by
          #4

          I don't include c++ headers

          jsulmJ 1 Reply Last reply
          0
          • ? A Former User

            I don't include c++ headers

            jsulmJ Offline
            jsulmJ Offline
            jsulm
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @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)?

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • ? Offline
              ? Offline
              A Former User
              wrote on last edited by
              #6

              It's solved! Thanks

              Pablo J. RoginaP 1 Reply Last reply
              0
              • ? A Former User

                It's solved! Thanks

                Pablo J. RoginaP Offline
                Pablo J. RoginaP Offline
                Pablo J. Rogina
                wrote on last edited by
                #7

                @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...

                Upvote the answer(s) that helped you solve the issue
                Use "Topic Tools" button to mark your post as Solved
                Add screenshots via postimage.org
                Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

                1 Reply Last reply
                0

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved