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. Building qtbase, cross compiling for Banana Pro. c++1z error, configure error, and connection test error.

Building qtbase, cross compiling for Banana Pro. c++1z error, configure error, and connection test error.

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
banana proqt build failedqmakeembedded linuxqtcreator
13 Posts 2 Posters 5.6k 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.
  • J Offline
    J Offline
    jsulm
    Lifetime Qt Champion
    wrote on 25 Jan 2016, 12:09 last edited by
    #2
    1. What errors do you get before that line: "EGLFS functionality test failed!"?
    2. It should be -std=c++11 not -std=c++1z

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

    1 Reply Last reply
    0
    • M Offline
      M Offline
      monster
      wrote on 25 Jan 2016, 12:23 last edited by monster
      #3

      c++1z error is the error that I actually get. From the information that I got, c++1z and c++11 are commonly used instead each other and mean the same.

      I'll show you the whole ./configure process, it is posted here because it is too long for that message:
      http://pastebin.com/Q7GJd3Vm

      J 1 Reply Last reply 25 Jan 2016, 12:40
      0
      • M Offline
        M Offline
        monster
        wrote on 25 Jan 2016, 12:28 last edited by monster
        #4

        By the way, the next problem that I have is the error "Server sent invalid f." when I try to test the connection between the Banana Pro and my computer with Debian over IP from the QT IDE. I've checked many topics, but none of these solution work. Moreover - I can't find the qtcreator-plugin-remotelinux in my repository, and I don't know if it's recommended to get raspbian, or other linux repositories just to install this plugin, especially that I don't know if it's that plugin's fault, or the fault of something different...

        1 Reply Last reply
        0
        • M monster
          25 Jan 2016, 12:23

          c++1z error is the error that I actually get. From the information that I got, c++1z and c++11 are commonly used instead each other and mean the same.

          I'll show you the whole ./configure process, it is posted here because it is too long for that message:
          http://pastebin.com/Q7GJd3Vm

          J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote on 25 Jan 2016, 12:40 last edited by
          #5

          @monster Then the compiler you use is probably too old and does not support C++11.
          You can check the version using g++ --version
          Can you access your device using SSH?
          It looks like you installed QtCreator from Debian repository, right? You can try to install it using Qt online installer to get the latest one.

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

          M 1 Reply Last reply 25 Jan 2016, 12:46
          1
          • J jsulm
            25 Jan 2016, 12:40

            @monster Then the compiler you use is probably too old and does not support C++11.
            You can check the version using g++ --version
            Can you access your device using SSH?
            It looks like you installed QtCreator from Debian repository, right? You can try to install it using Qt online installer to get the latest one.

            M Offline
            M Offline
            monster
            wrote on 25 Jan 2016, 12:46 last edited by monster
            #6

            @jsulm
            So you suggest that this toolchain uses c++11 standard? Or my compiler use it? I am asking, because I can do the whole process of configuration and compilation for qtbase for raspberry pi, but I can't make this working on Banana pro.

            I use a new linaro gcc toolchain.

            What tools do I need and on which device?

            Yes , I can access the device using SSH.

            The qt ide on my computer is from online installer, also the whole qtbase for building with modules is downloaded from the newest directories on the qtsite.

            I don't have qt ide on my embedded device, I just followed raspberry pi EGLFS guide (you can find it really easy, it's the tutorial made by QT), installed all the stuff that was needed to cross compile (libraries, etc).

            One more thing - I additionaly have ia32libs installed on my computer - I wasn't able to build qtbase for embedded linux on arm without it.

            M 1 Reply Last reply 25 Jan 2016, 13:02
            0
            • M monster
              25 Jan 2016, 12:46

              @jsulm
              So you suggest that this toolchain uses c++11 standard? Or my compiler use it? I am asking, because I can do the whole process of configuration and compilation for qtbase for raspberry pi, but I can't make this working on Banana pro.

              I use a new linaro gcc toolchain.

              What tools do I need and on which device?

              Yes , I can access the device using SSH.

              The qt ide on my computer is from online installer, also the whole qtbase for building with modules is downloaded from the newest directories on the qtsite.

              I don't have qt ide on my embedded device, I just followed raspberry pi EGLFS guide (you can find it really easy, it's the tutorial made by QT), installed all the stuff that was needed to cross compile (libraries, etc).

              One more thing - I additionaly have ia32libs installed on my computer - I wasn't able to build qtbase for embedded linux on arm without it.

              M Offline
              M Offline
              monster
              wrote on 25 Jan 2016, 13:02 last edited by monster
              #7

              On my computer with standard Debian Jessie:

              I've additionaly typed
              "apt-get install c++11"
              "apt-get install c++17"
              and I've installed packages lying under it , but still, the compilation doesn't work.

              1 Reply Last reply
              0
              • J Offline
                J Offline
                jsulm
                Lifetime Qt Champion
                wrote on 25 Jan 2016, 13:21 last edited by
                #8

                You're trying to build with C++11 support. The compiler says it does not know anything about c++11. Which compiler version do you use (I mean the linaro compiler)? Check with PATH_TO_LINARO_G++ --version.
                Regarding QtCreator: check under Help/About Plugin... whether the RemoteLinux plug-in is activated.

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

                1 Reply Last reply
                1
                • M Offline
                  M Offline
                  monster
                  wrote on 25 Jan 2016, 13:26 last edited by
                  #9

                  gcc-linaro-5.1-2015.08-x86_64_arm-linux-gnueabihf,

                  and g++ version:

                   ./arm-linux-gnueabihf-g++ --version
                  
                  
                  
                  arm-linux-gnueabihf-g++ (Linaro GCC 5.1-2015.08) 5.1.1 20150608
                  Copyright (C) 2015 Free Software Foundation, Inc.
                  This is free software; see the source for copying conditions.  There is NO
                  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
                  
                  
                  1 Reply Last reply
                  0
                  • M Offline
                    M Offline
                    monster
                    wrote on 25 Jan 2016, 13:36 last edited by
                    #10

                    And the remotelinux plugin is activated for sure, but I checked it, and as i said it is. It works with raspberry pi.

                    1 Reply Last reply
                    0
                    • J Offline
                      J Offline
                      jsulm
                      Lifetime Qt Champion
                      wrote on 25 Jan 2016, 13:43 last edited by
                      #11

                      I tryed on my machine with -std=c++1z - it does not work, but -std=c++11 works (with even older g++)

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

                      M 1 Reply Last reply 25 Jan 2016, 14:07
                      0
                      • J jsulm
                        25 Jan 2016, 13:43

                        I tryed on my machine with -std=c++1z - it does not work, but -std=c++11 works (with even older g++)

                        M Offline
                        M Offline
                        monster
                        wrote on 25 Jan 2016, 14:07 last edited by monster
                        #12
                        This post is deleted!
                        1 Reply Last reply
                        0
                        • M Offline
                          M Offline
                          monster
                          wrote on 25 Jan 2016, 15:08 last edited by monster
                          #13

                          Ok I see now, that when I configure with toolchain for armbcm from raspbian, it fails, but not because of the compiler ( make goes much further). I will search for another toolchain. I'm curious if the application made by such configured and built qtbase (with previously mentioned armbcm toolchain) will work on Banana.

                          Now only I have to eliminate the problem with qt ide remote connection
                          (error "Server sent invalid f"). If anybody knew how, it would be a blessing for me.

                          1 Reply Last reply
                          0

                          11/13

                          25 Jan 2016, 13:43

                          • Login

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