Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. "No rule to make target...." build error

"No rule to make target...." build error

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 430 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Alex Williams
    wrote on last edited by
    #1

    Hello,

    I recently merged some changes into a repository I am working on and since doing so I am getting the following error when building the project.

    ":-1: error: No rule to make target 'C:/Users/alexander.williams/Documents/GitHub/AerOpt-gui/../vcpkg/packages/libssh_x64-windows/lib/ssh.lib', needed by 'build/debug-gcc/AerOptGui.exe'. Stop."

    I have had a look online and am seeing many different reasons for this error being caused. Any help or suggestions of the problem would be much appreciated!

    aha_1980A 1 Reply Last reply
    0
    • A Alex Williams

      Hello,

      I recently merged some changes into a repository I am working on and since doing so I am getting the following error when building the project.

      ":-1: error: No rule to make target 'C:/Users/alexander.williams/Documents/GitHub/AerOpt-gui/../vcpkg/packages/libssh_x64-windows/lib/ssh.lib', needed by 'build/debug-gcc/AerOptGui.exe'. Stop."

      I have had a look online and am seeing many different reasons for this error being caused. Any help or suggestions of the problem would be much appreciated!

      aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Alex-Williams

      I'd start with completely purging the build folder and then run qmake and do a full build.

      Regards

      Qt has to stay free or it will die.

      1 Reply Last reply
      0
      • A Offline
        A Offline
        Alex Williams
        wrote on last edited by
        #3

        Thanks I've tried that now but am getting the same error. What would you suggest next?

        aha_1980A 1 Reply Last reply
        0
        • A Alex Williams

          Thanks I've tried that now but am getting the same error. What would you suggest next?

          aha_1980A Offline
          aha_1980A Offline
          aha_1980
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Alex-Williams

          1. Make sure there are no invalid Makefiles in your source and build folders
          2. Check the .pro files, especially the new and modified ones that they are sane.

          Regards

          Qt has to stay free or it will die.

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved