Error 127 while debugging an example code.
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
Seems as you forgot install compiler,
you need run from console:
bq. sudo apt-get install gcc g++
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).
@denis ....what can be the thing then???I m already frustrated with the stuff....please help..
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).
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
debamalya1987 I repeat: you need install compiler, See my comment above.
Yep, g++ is missing.
@ Denis Thanx man...
Ll do that asap..and get back to u guys...