Results 1 to 3 of 3

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

  1. #1
    Join Date
    Aug 2014
    Posts
    9
    Thanks
    2
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

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

    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.


    Can anyone suggest me a solution for this problem?


    thanks in advance!!!

    Jakr1387

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Error:No rule to make target `FeauresTracking.cpp', needed by `FeauresTracking.o,

    The error mentiones "FeauresTracking" without "t".
    Check the includes in the other files.

    Cheers,
    _

  3. The following user says thank you to anda_skoa for this useful post:

    Jakr1387 (2nd September 2014)

  4. #3
    Join Date
    Aug 2014
    Posts
    9
    Thanks
    2
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Error:No rule to make target `FeauresTracking.cpp', needed by `FeauresTracking.o,

    Yeah, that I copied it wrong by mistake and there was some other problem with linking. I resolved that!!!

Similar Threads

  1. Replies: 2
    Last Post: 7th February 2017, 11:03
  2. No rule to make target error while building for Android
    By Awareness in forum Installation and Deployment
    Replies: 1
    Last Post: 23rd December 2013, 02:08
  3. :-1: error: No rule to make target
    By quakig in forum Newbie
    Replies: 1
    Last Post: 8th December 2013, 00:16
  4. :: error: No rule to make target
    By kurrachow in forum Newbie
    Replies: 2
    Last Post: 15th March 2011, 13:33
  5. Replies: 1
    Last Post: 5th March 2011, 18:23

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.