Error 127 while debugging an example code.
-
wrote on 20 Apr 2011, 05:59 last edited by
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
-
wrote on 20 Apr 2011, 06:48 last edited by
Seems as you forgot install compiler,
you need run from console:bq. sudo apt-get install gcc g++
-
wrote on 20 Apr 2011, 07:17 last edited by
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).
-
wrote on 20 Apr 2011, 07:38 last edited by
@denis ....what can be the thing then???I m already frustrated with the stuff....please help..
-
wrote on 20 Apr 2011, 07:48 last edited by
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).
-
wrote on 20 Apr 2011, 08:20 last edited by
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 -
wrote on 20 Apr 2011, 08:23 last edited by
debamalya1987 I repeat: you need install compiler, See my comment above.
-
wrote on 20 Apr 2011, 08:28 last edited by
Yep, g++ is missing.
-
wrote on 20 Apr 2011, 08:35 last edited by
@Vass...Thanx...
@ Denis Thanx man...Ll do that asap..and get back to u guys...
1/9