PDA

View Full Version : Error:No rule to make target `FeauresTracking.cpp', needed by `FeauresTracking.o,stop



Jakr1387
30th August 2014, 13:00
Hello Everyone,

I am creating a GUI with Qt and I have to add external .cpp and .h file to the project. To be specific "FeaturesTracking.cpp" and "FeaturesTracking.h" as you can see below:


QT += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = untitled
TEMPLATE = app


SOURCES += main.cpp\
mainpcb.cpp\
FeaturesTracking.cpp

HEADERS += mainpcb.h\
FeaturesTracking.h


I added both the files inside project file, But when I build, I am getting an error "-1: Error:No rule to make target `FeauresTracking.cpp', needed by `FeauresTracking.o,stop"

As suggested in other threads, I tried deleting the output directory and did build again. But my fortune, it didn't work.:p


Can anyone suggest me a solution for this problem?


thanks in advance!!!

Jakr1387

anda_skoa
30th August 2014, 14:59
The error mentiones "FeauresTracking" without "t".
Check the includes in the other files.

Cheers,
_

Jakr1387
2nd September 2014, 14:50
Yeah, that I copied it wrong by mistake and there was some other problem with linking. I resolved that!!!