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 127 while debugging an example code.
Forum Updated to NodeBB v4.3 + New Features

Error 127 while debugging an example code.

Scheduled Pinned Locked Moved Installation and Deployment
9 Posts 3 Posters 14.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.
  • D Offline
    D Offline
    debamalya1987
    wrote on last edited by
    #1

    Hi,

    I am new to Qt . I installed the qt sdk yesterday. When i tried compiling and executing an example code , I am getting an error 127. Could someone please help me how to get thru. I have installed qt sdk 4.7 for linux. My QT creator 2.0 is up and running on ubuntu 10.10.

    The error is: :: error: [dragwidget.o] Error 127

    1 Reply Last reply
    0
    • V Offline
      V Offline
      vsorokin
      wrote on last edited by
      #2

      Seems as you forgot install compiler,
      you need run from console:

      bq. sudo apt-get install gcc g++

      --
      Vasiliy

      1 Reply Last reply
      0
      • D Offline
        D Offline
        DenisKormalev
        wrote on last edited by
        #3

        Not sure that problem is in gcc lacking because dragwidget.o is created. Maybe some other tools are lacking (because error 127 is for command lacking).

        1 Reply Last reply
        0
        • D Offline
          D Offline
          debamalya1987
          wrote on last edited by
          #4

          @denis ....what can be the thing then???I m already frustrated with the stuff....please help..

          1 Reply Last reply
          0
          • D Offline
            D Offline
            DenisKormalev
            wrote on last edited by
            #5

            Can you post here output of make command? At least lines that are relevant to this error (lets say line with error and 30 lines before it).

            1 Reply Last reply
            0
            • D Offline
              D Offline
              debamalya1987
              wrote on last edited by
              #6

              This is the error:

              g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../mkspecs/linux-g++ -I../configdialog -I../../../include/QtCore -I../../../include/QtGui -I../../../include -I. -I../configdialog -I. -o configdialog.o ../configdialog/configdialog.cpp
              make: g++: Command not found
              make: *** [configdialog.o] Error 127

              1 Reply Last reply
              0
              • V Offline
                V Offline
                vsorokin
                wrote on last edited by
                #7

                debamalya1987 I repeat: you need install compiler, See my comment above.

                --
                Vasiliy

                1 Reply Last reply
                0
                • D Offline
                  D Offline
                  DenisKormalev
                  wrote on last edited by
                  #8

                  Yep, g++ is missing.

                  1 Reply Last reply
                  0
                  • D Offline
                    D Offline
                    debamalya1987
                    wrote on last edited by
                    #9

                    @Vass...Thanx...
                    @ Denis Thanx man...

                    Ll do that asap..and get back to u guys...

                    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