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. Raspberry Pi 3: debug info, how to fix?

Raspberry Pi 3: debug info, how to fix?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
59 Posts 6 Posters 27.7k Views
  • 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.
  • S Offline
    S Offline
    sneubert
    wrote on 20 Mar 2017, 07:04 last edited by
    #37

    Leave you sysroot path in build&run --> kit --> sysroot the way it is, because this is needed for building your application. The set sysroot command I told you is just for gdb to instruct loading libraries remote. Use the exact string set sysroot target:/ only for "Additional Startup Commands" in Options->Debugger GDB-Tab.

    J 1 Reply Last reply 20 Mar 2017, 08:32
    0
    • S sneubert
      20 Mar 2017, 07:04

      Leave you sysroot path in build&run --> kit --> sysroot the way it is, because this is needed for building your application. The set sysroot command I told you is just for gdb to instruct loading libraries remote. Use the exact string set sysroot target:/ only for "Additional Startup Commands" in Options->Debugger GDB-Tab.

      J Offline
      J Offline
      JiujiuTong
      wrote on 20 Mar 2017, 08:32 last edited by
      #38

      @sneubert
      OK, thank you !

      1 Reply Last reply
      0
      • J JiujiuTong
        16 Mar 2017, 01:19

        @JiujiuTong said in Qt on rpi3 , debug info ,how to fix?:

        @jsulm
        i have check the files , both ligQt5OpenGL.so and libQt5Multimedia.so exists,
        and the build output is still:
        /home/tong/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/../../../../arm-linux-gnueabihf/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching for -lpthread
        /home/tong/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/../../../../arm-linux-gnueabihf/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
        /home/tong/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/../../../../arm-linux-gnueabihf/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
        /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference to QGLContext::currentContext()@Qt_5' /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference to QGLShaderProgram::setAttributeArray(char const*, float const*, int, int)@Qt_5'
        /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference to QGLShaderProgram::hasOpenGLShaderPrograms(QGLContext const*)@Qt_5' /home/tong/raspi/sysroot/usr/lib/arm-linux-gnueabihf/libQt5OpenGL.so.5: undefined reference to QStaticTextItem::setFontEngine(QFontEngine*)'
        /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference to QGLShaderProgram::addShaderFromSourceCode(QFlags<QGLShader::ShaderTypeBit>, char const*)@Qt_5' /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference to QGLContext::contextHandle() const@Qt_5'
        /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference to QGLShaderProgram::removeAllShaders()@Qt_5' /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference to QGLShaderProgram::enableAttributeArray(char const*)@Qt_5'
        /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference to QGLShaderProgram::link()@Qt_5' /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference to QGLShaderProgram::QGLShaderProgram(QGLContext const*, QObject*)@Qt_5'
        /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference to QGLShaderProgram::release()@Qt_5' /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference to QGLShaderProgram::setUniformValue(char const*, QMatrix4x4 const&)@Qt_5'
        /home/tong/raspi/sysroot/usr/lib/libactivemq-cpp.so: undefined reference to std::__throw_out_of_range_fmt(char const*, ...)@GLIBCXX_3.4.20' /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference to QGLShaderProgram::~QGLShaderProgram()@Qt_5'
        /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference to QGLShaderProgram::log() const@Qt_5' /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference to QGLShaderProgram::setUniformValue(char const*, float const (*) [4])@Qt_5'
        /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference to QGLShaderProgram::setUniformValue(char const*, int)@Qt_5' /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference to QGLShaderProgram::bind()@Qt_5'
        collect2: error: ld returned 1 exit status
        make: *** [FMT] Error 1
        20:57:20: The process "/usr/bin/make" exited with code 2.
        Error while building/deploying project FMT (kit: rpi3)
        The kit rpi3 has configuration issues which might be the root cause for this problem.
        When executing step "Make"
        @jsulm ,do you have any ideas? thank you !

        J Offline
        J Offline
        JiujiuTong
        wrote on 22 Mar 2017, 06:57 last edited by
        #39

        @SSGaist
        can you help me out of this problem? thank you!
        @jsulm
        i have check the files , both ligQt5OpenGL.so and libQt5Multimedia.so exists,
        and the build output is still:
        /home/tong/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/../../../../arm-linux-gnueabihf/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching for -lpthread
        /home/tong/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/../../../../arm-linux-gnueabihf/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
        /home/tong/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/../../../../arm-linux-gnueabihf/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
        /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference to QGLContext::currentContext()@Qt_5' /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference toQGLShaderProgram::setAttributeArray(char const*, float const*, int, int)@Qt_5'
        /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference to QGLShaderProgram::hasOpenGLShaderPrograms(QGLContext const*)@Qt_5' /home/tong/raspi/sysroot/usr/lib/arm-linux-gnueabihf/libQt5OpenGL.so.5: undefined reference toQStaticTextItem::setFontEngine(QFontEngine*)'
        /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference to QGLShaderProgram::addShaderFromSourceCode(QFlagsQGLShader::ShaderTypeBit, char const*)@Qt_5' /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference toQGLContext::contextHandle() const@Qt_5'
        /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference to QGLShaderProgram::removeAllShaders()@Qt_5' /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference toQGLShaderProgram::enableAttributeArray(char const*)@Qt_5'
        /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference to QGLShaderProgram::link()@Qt_5' /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference toQGLShaderProgram::QGLShaderProgram(QGLContext const*, QObject*)@Qt_5'
        /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference to QGLShaderProgram::release()@Qt_5' /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference toQGLShaderProgram::setUniformValue(char const*, QMatrix4x4 const&)@Qt_5'
        /home/tong/raspi/sysroot/usr/lib/libactivemq-cpp.so: undefined reference to std::__throw_out_of_range_fmt(char const*, ...)@GLIBCXX_3.4.20' /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference toQGLShaderProgram::~QGLShaderProgram()@Qt_5'
        /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference to QGLShaderProgram::log() const@Qt_5' /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference toQGLShaderProgram::setUniformValue(char const*, float const () [4])@Qt_5'
        /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference to QGLShaderProgram::setUniformValue(char const
        , int)@Qt_5' /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference toQGLShaderProgram::bind()@Qt_5'
        collect2: error: ld returned 1 exit status

        J 2 Replies Last reply 22 Mar 2017, 07:12
        0
        • J JiujiuTong
          22 Mar 2017, 06:57

          @SSGaist
          can you help me out of this problem? thank you!
          @jsulm
          i have check the files , both ligQt5OpenGL.so and libQt5Multimedia.so exists,
          and the build output is still:
          /home/tong/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/../../../../arm-linux-gnueabihf/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching for -lpthread
          /home/tong/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/../../../../arm-linux-gnueabihf/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
          /home/tong/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/../../../../arm-linux-gnueabihf/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
          /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference to QGLContext::currentContext()@Qt_5' /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference toQGLShaderProgram::setAttributeArray(char const*, float const*, int, int)@Qt_5'
          /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference to QGLShaderProgram::hasOpenGLShaderPrograms(QGLContext const*)@Qt_5' /home/tong/raspi/sysroot/usr/lib/arm-linux-gnueabihf/libQt5OpenGL.so.5: undefined reference toQStaticTextItem::setFontEngine(QFontEngine*)'
          /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference to QGLShaderProgram::addShaderFromSourceCode(QFlagsQGLShader::ShaderTypeBit, char const*)@Qt_5' /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference toQGLContext::contextHandle() const@Qt_5'
          /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference to QGLShaderProgram::removeAllShaders()@Qt_5' /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference toQGLShaderProgram::enableAttributeArray(char const*)@Qt_5'
          /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference to QGLShaderProgram::link()@Qt_5' /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference toQGLShaderProgram::QGLShaderProgram(QGLContext const*, QObject*)@Qt_5'
          /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference to QGLShaderProgram::release()@Qt_5' /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference toQGLShaderProgram::setUniformValue(char const*, QMatrix4x4 const&)@Qt_5'
          /home/tong/raspi/sysroot/usr/lib/libactivemq-cpp.so: undefined reference to std::__throw_out_of_range_fmt(char const*, ...)@GLIBCXX_3.4.20' /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference toQGLShaderProgram::~QGLShaderProgram()@Qt_5'
          /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference to QGLShaderProgram::log() const@Qt_5' /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference toQGLShaderProgram::setUniformValue(char const*, float const () [4])@Qt_5'
          /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference to QGLShaderProgram::setUniformValue(char const
          , int)@Qt_5' /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference toQGLShaderProgram::bind()@Qt_5'
          collect2: error: ld returned 1 exit status

          J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote on 22 Mar 2017, 07:12 last edited by
          #40

          @JiujiuTong As I said "skipping incompatible" message means that the library is build for a different architecture. You're most probably mixing architectures.
          /usr/lib/libpthread.so - this looks like a path on your host PC. You cannot use libraries from your host PC (X86_64) to cross compile for ARM.

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

          J 1 Reply Last reply 22 Mar 2017, 08:45
          1
          • J JiujiuTong
            22 Mar 2017, 06:57

            @SSGaist
            can you help me out of this problem? thank you!
            @jsulm
            i have check the files , both ligQt5OpenGL.so and libQt5Multimedia.so exists,
            and the build output is still:
            /home/tong/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/../../../../arm-linux-gnueabihf/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching for -lpthread
            /home/tong/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/../../../../arm-linux-gnueabihf/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
            /home/tong/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/../../../../arm-linux-gnueabihf/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
            /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference to QGLContext::currentContext()@Qt_5' /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference toQGLShaderProgram::setAttributeArray(char const*, float const*, int, int)@Qt_5'
            /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference to QGLShaderProgram::hasOpenGLShaderPrograms(QGLContext const*)@Qt_5' /home/tong/raspi/sysroot/usr/lib/arm-linux-gnueabihf/libQt5OpenGL.so.5: undefined reference toQStaticTextItem::setFontEngine(QFontEngine*)'
            /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference to QGLShaderProgram::addShaderFromSourceCode(QFlagsQGLShader::ShaderTypeBit, char const*)@Qt_5' /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference toQGLContext::contextHandle() const@Qt_5'
            /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference to QGLShaderProgram::removeAllShaders()@Qt_5' /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference toQGLShaderProgram::enableAttributeArray(char const*)@Qt_5'
            /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference to QGLShaderProgram::link()@Qt_5' /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference toQGLShaderProgram::QGLShaderProgram(QGLContext const*, QObject*)@Qt_5'
            /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference to QGLShaderProgram::release()@Qt_5' /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference toQGLShaderProgram::setUniformValue(char const*, QMatrix4x4 const&)@Qt_5'
            /home/tong/raspi/sysroot/usr/lib/libactivemq-cpp.so: undefined reference to std::__throw_out_of_range_fmt(char const*, ...)@GLIBCXX_3.4.20' /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference toQGLShaderProgram::~QGLShaderProgram()@Qt_5'
            /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference to QGLShaderProgram::log() const@Qt_5' /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference toQGLShaderProgram::setUniformValue(char const*, float const () [4])@Qt_5'
            /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference to QGLShaderProgram::setUniformValue(char const
            , int)@Qt_5' /home/tong/raspi/qt5pi/lib/libQt5MultimediaWidgets.so: undefined reference toQGLShaderProgram::bind()@Qt_5'
            collect2: error: ld returned 1 exit status

            J Offline
            J Offline
            jsulm
            Lifetime Qt Champion
            wrote on 22 Mar 2017, 07:13 last edited by
            #41

            @JiujiuTong Can you show your configure call?

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

            J 1 Reply Last reply 22 Mar 2017, 08:39
            0
            • J jsulm
              22 Mar 2017, 07:13

              @JiujiuTong Can you show your configure call?

              J Offline
              J Offline
              JiujiuTong
              wrote on 22 Mar 2017, 08:39 last edited by JiujiuTong
              #42

              @jsulm
              my configure is :
              "./configure -release -opengl es2 -skip webengine -device linux-rasp-pi2-g++ -device-option CROSS_COMPILE=~/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf- -sysroot ~/raspi/sysroot -opensource -confirm-license -make libs -prefix /usr/local/qt5pi -extprefix ~/raspi/qt5pi -hostprefix ~/raspi/qt5 -v "
              my host is centos 7 x64, the target is raspberry pi3. thank you !

              J 1 Reply Last reply 22 Mar 2017, 08:42
              0
              • J JiujiuTong
                22 Mar 2017, 08:39

                @jsulm
                my configure is :
                "./configure -release -opengl es2 -skip webengine -device linux-rasp-pi2-g++ -device-option CROSS_COMPILE=~/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf- -sysroot ~/raspi/sysroot -opensource -confirm-license -make libs -prefix /usr/local/qt5pi -extprefix ~/raspi/qt5pi -hostprefix ~/raspi/qt5 -v "
                my host is centos 7 x64, the target is raspberry pi3. thank you !

                J Offline
                J Offline
                jsulm
                Lifetime Qt Champion
                wrote on 22 Mar 2017, 08:42 last edited by
                #43

                @JiujiuTong Does your sysroot contain all that incompatible libraries (like libpthread.so)?

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

                J 1 Reply Last reply 22 Mar 2017, 08:50
                0
                • J jsulm
                  22 Mar 2017, 07:12

                  @JiujiuTong As I said "skipping incompatible" message means that the library is build for a different architecture. You're most probably mixing architectures.
                  /usr/lib/libpthread.so - this looks like a path on your host PC. You cannot use libraries from your host PC (X86_64) to cross compile for ARM.

                  J Offline
                  J Offline
                  JiujiuTong
                  wrote on 22 Mar 2017, 08:45 last edited by
                  #44

                  @jsulm
                  can you explain more precise, i'm just following the ways list by:
                  http://wiki.qt.io/RaspberryPi2EGLFS
                  should i do something else, if so can you help me ?

                  J 1 Reply Last reply 22 Mar 2017, 08:46
                  0
                  • J JiujiuTong
                    22 Mar 2017, 08:45

                    @jsulm
                    can you explain more precise, i'm just following the ways list by:
                    http://wiki.qt.io/RaspberryPi2EGLFS
                    should i do something else, if so can you help me ?

                    J Offline
                    J Offline
                    jsulm
                    Lifetime Qt Champion
                    wrote on 22 Mar 2017, 08:46 last edited by
                    #45

                    @JiujiuTong "-sysroot ~/raspi/sysroot" - does ~/raspi/sysroot contain file libpthread.so ?

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

                    1 Reply Last reply
                    0
                    • J jsulm
                      22 Mar 2017, 08:42

                      @JiujiuTong Does your sysroot contain all that incompatible libraries (like libpthread.so)?

                      J Offline
                      J Offline
                      JiujiuTong
                      wrote on 22 Mar 2017, 08:50 last edited by
                      #46

                      @jsulm
                      i just sync from raspberry, is there anyway to check if incompatible libraries are included in that path?

                      J 1 Reply Last reply 22 Mar 2017, 08:51
                      0
                      • J JiujiuTong
                        22 Mar 2017, 08:50

                        @jsulm
                        i just sync from raspberry, is there anyway to check if incompatible libraries are included in that path?

                        J Offline
                        J Offline
                        jsulm
                        Lifetime Qt Champion
                        wrote on 22 Mar 2017, 08:51 last edited by
                        #47

                        @JiujiuTong My question was: does it contain that file?

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

                        J 1 Reply Last reply 22 Mar 2017, 09:28
                        0
                        • J jsulm
                          22 Mar 2017, 08:51

                          @JiujiuTong My question was: does it contain that file?

                          J Offline
                          J Offline
                          JiujiuTong
                          wrote on 22 Mar 2017, 09:28 last edited by
                          #48

                          @jsulm
                          yes,there is a libpthread.so

                          J 1 Reply Last reply 22 Mar 2017, 10:51
                          0
                          • J JiujiuTong
                            22 Mar 2017, 09:28

                            @jsulm
                            yes,there is a libpthread.so

                            J Offline
                            J Offline
                            jsulm
                            Lifetime Qt Champion
                            wrote on 22 Mar 2017, 10:51 last edited by
                            #49

                            @JiujiuTong Can you do:

                            file PATH_TO/libpthread.so
                            

                            and post the output?

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

                            J 1 Reply Last reply 1 Apr 2017, 14:46
                            0
                            • J jsulm
                              22 Mar 2017, 10:51

                              @JiujiuTong Can you do:

                              file PATH_TO/libpthread.so
                              

                              and post the output?

                              J Offline
                              J Offline
                              JiujiuTong
                              wrote on 1 Apr 2017, 14:46 last edited by
                              #50

                              @jsulm
                              sorry for my late reply
                              these days i have been rework the job. just following the steps again.
                              now there is another error :
                              /usr/include/math.h:31: error: bits/math-vector.h: No such file or directory
                              #include <bits/math-vector.h>
                              i try to find the file bits/math-vector.h ,but there is no such file
                              and i searched that is should be included in libc6-dev package.
                              but i have installed the latest package , but still no such file
                              is there any other ways to fix it? thank you very much !

                              J 1 Reply Last reply 2 Apr 2017, 10:40
                              0
                              • J JiujiuTong
                                1 Apr 2017, 14:46

                                @jsulm
                                sorry for my late reply
                                these days i have been rework the job. just following the steps again.
                                now there is another error :
                                /usr/include/math.h:31: error: bits/math-vector.h: No such file or directory
                                #include <bits/math-vector.h>
                                i try to find the file bits/math-vector.h ,but there is no such file
                                and i searched that is should be included in libc6-dev package.
                                but i have installed the latest package , but still no such file
                                is there any other ways to fix it? thank you very much !

                                J Offline
                                J Offline
                                JiujiuTong
                                wrote on 2 Apr 2017, 10:40 last edited by
                                #51

                                @JiujiuTong said in Qt on rpi3 , debug info ,how to fix?:

                                @jsulm
                                sorry for my late reply
                                these days i have been rework the job. just following the steps again.
                                now there is another error :
                                /usr/include/math.h:31: error: bits/math-vector.h: No such file or directory
                                #include <bits/math-vector.h>
                                i try to find the file bits/math-vector.h ,but there is no such file
                                and i searched that is should be included in libc6-dev package.
                                but i have installed the latest package , but still no such file
                                is there any other ways to fix it? thank you very much !

                                @jsulm it seems that the qtcreator do not using the files specified by sysroot(~/rapi/sysroot/usr/include/math.h), it is using files on host files /usr/include/math, how can i use the files under sysroot ?thank you !

                                J 1 Reply Last reply 3 Apr 2017, 07:23
                                0
                                • J JiujiuTong
                                  2 Apr 2017, 10:40

                                  @JiujiuTong said in Qt on rpi3 , debug info ,how to fix?:

                                  @jsulm
                                  sorry for my late reply
                                  these days i have been rework the job. just following the steps again.
                                  now there is another error :
                                  /usr/include/math.h:31: error: bits/math-vector.h: No such file or directory
                                  #include <bits/math-vector.h>
                                  i try to find the file bits/math-vector.h ,but there is no such file
                                  and i searched that is should be included in libc6-dev package.
                                  but i have installed the latest package , but still no such file
                                  is there any other ways to fix it? thank you very much !

                                  @jsulm it seems that the qtcreator do not using the files specified by sysroot(~/rapi/sysroot/usr/include/math.h), it is using files on host files /usr/include/math, how can i use the files under sysroot ?thank you !

                                  J Offline
                                  J Offline
                                  jsulm
                                  Lifetime Qt Champion
                                  wrote on 3 Apr 2017, 07:23 last edited by
                                  #52

                                  @JiujiuTong How did you configure the kit in QtCreator? If it is set up correctly then it should work.

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

                                  J 1 Reply Last reply 3 Apr 2017, 07:59
                                  0
                                  • J jsulm
                                    3 Apr 2017, 07:23

                                    @JiujiuTong How did you configure the kit in QtCreator? If it is set up correctly then it should work.

                                    J Offline
                                    J Offline
                                    JiujiuTong
                                    wrote on 3 Apr 2017, 07:59 last edited by
                                    #53

                                    @jsulm
                                    i think the configure is correct, i am following the steps :
                                    http://wiki.qt.io/RaspberryPi2EGLFS
                                    first create device ,then configure compiler,debug, and Qtversion. Go to Options -> Build & Run with sysroot path selected.
                                    i add the absolute path in the project, then it seem ok now with one problem:
                                    https://forum.qt.io/topic/77854/error-undefined-reference-to-std-__throw_out_of_range_fmt-char-const-glibcxx_3-4-20/3
                                    can you help me?

                                    J 1 Reply Last reply 3 Apr 2017, 08:01
                                    0
                                    • J JiujiuTong
                                      3 Apr 2017, 07:59

                                      @jsulm
                                      i think the configure is correct, i am following the steps :
                                      http://wiki.qt.io/RaspberryPi2EGLFS
                                      first create device ,then configure compiler,debug, and Qtversion. Go to Options -> Build & Run with sysroot path selected.
                                      i add the absolute path in the project, then it seem ok now with one problem:
                                      https://forum.qt.io/topic/77854/error-undefined-reference-to-std-__throw_out_of_range_fmt-char-const-glibcxx_3-4-20/3
                                      can you help me?

                                      J Offline
                                      J Offline
                                      jsulm
                                      Lifetime Qt Champion
                                      wrote on 3 Apr 2017, 08:01 last edited by
                                      #54

                                      @JiujiuTong Did you try what @SGaist suggested?

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

                                      J 1 Reply Last reply 3 Apr 2017, 08:26
                                      0
                                      • J jsulm
                                        3 Apr 2017, 08:01

                                        @JiujiuTong Did you try what @SGaist suggested?

                                        J Offline
                                        J Offline
                                        JiujiuTong
                                        wrote on 3 Apr 2017, 08:26 last edited by JiujiuTong 4 Mar 2017, 08:30
                                        #55

                                        @jsulm
                                        yes , i try ,but it failed
                                        i add you in other post . thank you !

                                        J 1 Reply Last reply 3 Apr 2017, 08:28
                                        0
                                        • J JiujiuTong
                                          3 Apr 2017, 08:26

                                          @jsulm
                                          yes , i try ,but it failed
                                          i add you in other post . thank you !

                                          J Offline
                                          J Offline
                                          jsulm
                                          Lifetime Qt Champion
                                          wrote on 3 Apr 2017, 08:28 last edited by
                                          #56

                                          @JiujiuTong Failed? Same problem?

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

                                          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