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. Error when executing step "Make"
Forum Updated to NodeBB v4.3 + New Features

Error when executing step "Make"

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
6 Posts 3 Posters 3.3k 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.
  • U Offline
    U Offline
    user614
    wrote on last edited by
    #1

    I am running on Ubuntu 16.04.2 LTS with QT 5.5.1. I upgraded everything on the board that I'm working on (Nitrogen 6) and I'm not sure if it upgraded something that is no longer compatible. This is the error I am getting. I looked at other forums that mentioned installing g++ or g++-5, but none of that works.

    14:58:36: Running steps for project Hello_World...
    14:58:36: Configuration unchanged, skipping qmake step.
    14:58:36: Starting "/usr/bin/make"
    /usr/lib/distcc/bin/g++-5 -c -pipe -g -mfloat -abi=hard -march=armv7-a -mfpu=vfpv3-d16 -DLINUX -Wall -W -fPIC -I../Hello_World -I. -isystem/usr/include -isystem /usr/include/arm-linux-gnueabihf -I/usr/lib/arm-linux-gnueabihf/qt5/mkspecs/linux-g++ -o main.o ../Hello_World/main.cpp
    make: /usr/lib/distcc/bin/g++-5: Command not found
    Makefile:278: recipe for target 'main.o' failed
    make*** [main.o] Error 127
    14:58:36 The process "/usr/bin/make" exited with code 2.
    Error while building deploying project Hello_World (kit: GccKit)
    When executing step "Make"

    Also, when I run it from the terminal, I get this warning:
    Warning: EGL sugggested using X Visual ID ee (RGB888) for EGL config 1 (RGB444),
    but this is incompatible

    Anybody have any ideas?

    aha_1980A 1 Reply Last reply
    0
    • U user614

      I am running on Ubuntu 16.04.2 LTS with QT 5.5.1. I upgraded everything on the board that I'm working on (Nitrogen 6) and I'm not sure if it upgraded something that is no longer compatible. This is the error I am getting. I looked at other forums that mentioned installing g++ or g++-5, but none of that works.

      14:58:36: Running steps for project Hello_World...
      14:58:36: Configuration unchanged, skipping qmake step.
      14:58:36: Starting "/usr/bin/make"
      /usr/lib/distcc/bin/g++-5 -c -pipe -g -mfloat -abi=hard -march=armv7-a -mfpu=vfpv3-d16 -DLINUX -Wall -W -fPIC -I../Hello_World -I. -isystem/usr/include -isystem /usr/include/arm-linux-gnueabihf -I/usr/lib/arm-linux-gnueabihf/qt5/mkspecs/linux-g++ -o main.o ../Hello_World/main.cpp
      make: /usr/lib/distcc/bin/g++-5: Command not found
      Makefile:278: recipe for target 'main.o' failed
      make*** [main.o] Error 127
      14:58:36 The process "/usr/bin/make" exited with code 2.
      Error while building deploying project Hello_World (kit: GccKit)
      When executing step "Make"

      Also, when I run it from the terminal, I get this warning:
      Warning: EGL sugggested using X Visual ID ee (RGB888) for EGL config 1 (RGB444),
      but this is incompatible

      Anybody have any ideas?

      aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi @user614,

      /usr/lib/distcc/bin/g++-5

      Seems you have set up somewhere to use distributed compiling with distcc.

      Is this intended? Seems like the distcc compiler is not installed. Please check your Kit settings in Tools -> Options which compiler is selected.

      Regards

      Qt has to stay free or it will die.

      1 Reply Last reply
      2
      • U Offline
        U Offline
        user614
        wrote on last edited by
        #3

        I have GCC as my compiler. The path is /usr/lib/distcc/g++
        and I DO have distcc compiler downloaded to my system. I'm not sure why it's giving me that error.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi,

          If you're not using distcc currently, you should maybe uninstall it and try to build again. Or at least check whether there's anything configured for it.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          U 1 Reply Last reply
          1
          • SGaistS SGaist

            Hi,

            If you're not using distcc currently, you should maybe uninstall it and try to build again. Or at least check whether there's anything configured for it.

            U Offline
            U Offline
            user614
            wrote on last edited by
            #5

            @SGaist
            So I got it to work, but only because I went to the make file and changed the CXX directory to the appropriate directory of g++-5. This is a temporary fix, but how do I make sure that the other files do not have that directory when it makes a make file?

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Is it in your PATH environment variable ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - 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