Solved - No rule to make target



  • I'm trying to build a gui application in QT Creator. I'm getting this error,

    mingw32-make.exe[1]: *** No rule to make target c:/BackhusR/Work/GeoStarII/Software/EECS_IntegratedASIC_Text_QT/EECS_IntegratedASIC_Test_QT/../../../../../../Program', needed byout_debug\EECS_IntegratedASIC_Test_QT_dbg.exe'. Stop.

    I looked around this forum and while I got a lot of hits on "no rule to make target", none really gave a direct answer as to the nature of this problem. My project file is below. Thanks.

    #-------------------------------------------------

    Project created by QtCreator 2012-08-10T11:47:41

    #-------------------------------------------------

    DEFINES += EMU_STANDALONE_LIBRARY

    QT += core gui

    TEMPLATE = app

    set compiler warning on

    CONFIG += warn_on

    Set Target

    win32:CONFIG(debug,debug|release):TARGET = EECS_IntegratedASIC_Test_QT_dbg
    win32:CONFIG(release,debug|release):TARGET = EECS_IntegratedASIC_Test_QT

    Set the target folder for resulting binaries (confusing mumbo jumbo)

    CONFIG(debug,debug|release):DESTDIR = ./out_release
    CONFIG(release,debug|release):DESTDIR = ./out_release

    #SOURCES****
    WIN32_SOURCES += C:/BackhusR/webjunk/DINI_Group/PurchasedBoardDocumentationPackage/DNDUALV6_PCIE4/Host_Software/emu/App/out_release/1.3.5/Software/emu/App/source/EMULIB/emulib_os_dep_win32.cpp
    WIN32_HEADERS += C:/BackhusR/webjunk/DINI_Group/PurchasedBoardDocumentationPackage/DNDUALV6_PCIE4/Host_Software/emu/App/out_release/1.3.5/Software/emu/Drivers/windows_pci/GUIDs.h
    WIN32_HEADERS += C:/BackhusR/webjunk/DINI_Group/PurchasedBoardDocumentationPackage/DNDUALV6_PCIE4/Host_Software/emu/App/out_release/1.3.5/Software/emu/Drivers/windows_pci/Ioctl.h

    SOURCES += main.cpp
    mainwindow.cpp
    N8241A.cpp
    MyDiniBoard.cpp
    asic.cpp

    SOURCES += C:/BackhusR/webjunk/DINI_Group/PurchasedBoardDocumentationPackage/DNDUALV6_PCIE4/Host_Software/emu/App/out_release/1.3.5/Software/emu/App/source/EMULIB/diniapi.cpp
    SOURCES += C:/BackhusR/webjunk/DINI_Group/PurchasedBoardDocumentationPackage/DNDUALV6_PCIE4/Host_Software/emu/App/out_release/1.3.5/Software/emu/App/source/EMULIB/diniapi_direct.cpp
    SOURCES += C:/BackhusR/webjunk/DINI_Group/PurchasedBoardDocumentationPackage/DNDUALV6_PCIE4/Host_Software/emu/App/out_release/1.3.5/Software/emu/App/source/EMULIB/diniapi_ethernet.cpp
    SOURCES += C:/BackhusR/webjunk/DINI_Group/PurchasedBoardDocumentationPackage/DNDUALV6_PCIE4/Host_Software/emu/App/out_release/1.3.5/Software/emu/App/source/EMULIB/diniapi_pcie.cpp
    SOURCES += C:/BackhusR/webjunk/DINI_Group/PurchasedBoardDocumentationPackage/DNDUALV6_PCIE4/Host_Software/emu/App/out_release/1.3.5/Software/emu/App/source/EMULIB/diniapi_usb.cpp
    SOURCES += C:/BackhusR/webjunk/DINI_Group/PurchasedBoardDocumentationPackage/DNDUALV6_PCIE4/Host_Software/emu/App/out_release/1.3.5/Software/emu/App/source/EMULIB/diniboard.cpp
    SOURCES += C:/BackhusR/webjunk/DINI_Group/PurchasedBoardDocumentationPackage/DNDUALV6_PCIE4/Host_Software/emu/App/out_release/1.3.5/Software/emu/App/source/EMULIB/diniboard_id.cpp
    SOURCES += C:/BackhusR/webjunk/DINI_Group/PurchasedBoardDocumentationPackage/DNDUALV6_PCIE4/Host_Software/emu/App/out_release/1.3.5/Software/emu/App/source/EMULIB/interconnect_data.cpp
    SOURCES += C:/BackhusR/webjunk/DINI_Group/PurchasedBoardDocumentationPackage/DNDUALV6_PCIE4/Host_Software/emu/App/out_release/1.3.5/Software/emu/App/project_qt/EMU_QT_VERSION.cpp

    HEADERS += mainwindow.h

    HEADERS += C:/BackhusR/webjunk/DINI_Group/PurchasedBoardDocumentationPackage/DNDUALV6_PCIE4/Host_Software/emu/App/out_release/1.3.5/Software/emu/App/source/EMULIB/diniapi.h
    HEADERS += C:/BackhusR/webjunk/DINI_Group/PurchasedBoardDocumentationPackage/DNDUALV6_PCIE4/Host_Software/emu/App/out_release/1.3.5/Software/emu/App/source/EMULIB/diniboard.h
    HEADERS += C:/BackhusR/webjunk/DINI_Group/PurchasedBoardDocumentationPackage/DNDUALV6_PCIE4/Host_Software/emu/App/out_release/1.3.5/Software/emu/App/source/EMULIB/dinicookie.h
    HEADERS += C:/BackhusR/webjunk/DINI_Group/PurchasedBoardDocumentationPackage/DNDUALV6_PCIE4/Host_Software/emu/App/out_release/1.3.5/Software/emu/App/source/EMULIB/diniboard_id.h
    HEADERS += C:/BackhusR/webjunk/DINI_Group/PurchasedBoardDocumentationPackage/DNDUALV6_PCIE4/Host_Software/emu/App/out_release/1.3.5/Software/emu/App/source/EMULIB/interconnect_data.h
    HEADERS += C:/BackhusR/webjunk/DINI_Group/PurchasedBoardDocumentationPackage/DNDUALV6_PCIE4/Host_Software/emu/App/out_release/1.3.5/Software/emu/App/source/EMULIB/emulib_os_dep.h
    HEADERS += C:/BackhusR/webjunk/DINI_Group/PurchasedBoardDocumentationPackage/DNDUALV6_PCIE4/Host_Software/emu/App/out_release/1.3.5/Software/emu/App/source/EMULIB/fpga_config_commands.h
    HEADERS += C:\Program Files (x86)\IVI Foundation\IVI\Include

    FORMS += mainwindow.ui

    INCLUDEPATH += C:/Program Files/IVI Foundation/VISA/Win64/agvisa/include
    INCLUDEPATH += C:/Program Files/IVI Foundation/VISA/Win64/include
    INCLUDEPATH += C:/Program Files/IVI Foundation/IVI/Include

    AWG Library

    win32: LIBS += -L$$PWD/../../../../../../Program Files (x86)/IVI Foundation/IVI/Lib/msc/ -lAGN6030A
    INCLUDEPATH += $$PWD/../../../../../../Program Files (x86)/IVI Foundation/IVI/Lib/msc
    DEPENDPATH += $$PWD/../../../../../../Program Files (x86)/IVI Foundation/IVI/Lib/msc
    win32: PRE_TARGETDEPS += $$PWD/../../../../../../Program Files (x86)/IVI Foundation/IVI/Lib/msc/AGN6030A.lib

    win32:LIBS += -lws2_32 –lsetupapi

    win32:SOURCES += $$WIN32_SOURCES
    win32:HEADERS += $$WIN32_HEADERS



  • Oh, I guess I really didn't ask a question above. The question is, what is QT creator or one of its agents telling me with this error statement and how does one fix things to the project will build or at least not have this error generated? Thank you.



  • Well, I think I resolved the "no rule to make target" issue. Apparently QT Creator or one of its agents is unable to handle spaces in paths which is unbeliveable for a Windows application since many of the Windows system folders, such as "Program Files" and "Program Files (x86)", have spaces in the names. More time wasted because this vendor insists on developing around these "amateur hour" tools! Well, I guess in the short term, it isn't his money, only his customers! :)


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.