Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Cross compile Boost in a QT project
Forum Updated to NodeBB v4.3 + New Features

Cross compile Boost in a QT project

Scheduled Pinned Locked Moved Mobile and Embedded
7 Posts 3 Posters 2.4k Views 1 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.
  • J Offline
    J Offline
    joao.bodanese
    wrote on last edited by
    #1

    Hi,

    I am trying compile boost on a QT pŕoject (BeagleBone) but I am getting the following error:

    /home/Libs/boost_1_55_0/libs/boost/lib/libboost_system.so:-1: error: undefined reference to `__aeabi_atexit@CXXABI_ARM_1.3.3'

    My configuration:

    INCLUDEPATH += /home/Libs/boost_1_55_0/libs/boost/include/

    LIBS += -L/home/Libs/boost_1_55_0/libs/boost/lib/
    LIBS += -pthread
    LIBS += -dl
    LIBS += -lboost_system
    LIBS += -lboost_thread
    LIBS += -lboost_atomic

    Best regards,
    Andersan

    1 Reply Last reply
    0
    • S Offline
      S Offline
      Sanchir Kartiev
      wrote on last edited by
      #2

      Hello! You just can include main_boost directory

      INCLUDEPATH += //Users/USER_NAME/Documents/boost_1_55_0

      It is working for me!

      1 Reply Last reply
      0
      • S Offline
        S Offline
        Sanchir Kartiev
        wrote on last edited by
        #3

        Its working on Android

        1 Reply Last reply
        0
        • J Offline
          J Offline
          joao.bodanese
          wrote on last edited by
          #4

          Hi,

          I included, but the error persist :/

          Best regards

          1 Reply Last reply
          0
          • K Offline
            K Offline
            koahnig
            wrote on last edited by
            #5

            This looks like another lib is missing.
            The reference is just in boost_system.

            Do you have compiled the boost libs with the correct cross-compiler?
            Do you include all required libs for the cross-compiler?

            Vote the answer(s) that helped you to solve your issue(s)

            1 Reply Last reply
            0
            • S Offline
              S Offline
              Sanchir Kartiev
              wrote on last edited by
              #6

              I think, you should INCLUDEPATH += /home/Libs/boost_1_55_0/libs/boost/include/ change to
              INCLUDEPATH += /home/Libs/boost_1_55_0.

              1 Reply Last reply
              0
              • S Offline
                S Offline
                Sanchir Kartiev
                wrote on last edited by
                #7

                You must compile Boost
                ./bootstrap.sh
                ./bjam
                ./bjam install.
                After that you can use it

                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