Results 1 to 2 of 2

Thread: How to fix error LNK1181: cannot open input file 'debug\main.obj'

  1. #1
    Join Date
    Jan 2016
    Posts
    81
    Thanks
    31
    Qt products
    Qt5
    Platforms
    Windows

    Default How to fix error LNK1181: cannot open input file 'debug\main.obj'

    Hi,
    I'm using Qt 5.1.1 for Windows 8.1 64-bit.
    When I move project to another URL (another drive of my computer), I have this error:

    LNK1181: cannot open input file 'debug\main.obj'

    This message will be displayed in compile output pane:
    The file does not found error in the old address.

    I clean project and run qmake and rebuild, but it is not useful.
    Last edited by neda; 16th February 2016 at 09:14.

  2. #2
    Join Date
    Sep 2011
    Posts
    86
    Thanks
    4
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Windows

    Default Re: How to fix error LNK1181: cannot open input file 'debug\main.obj'

    If You use QtCreator there is a section/button named project. Perhaps You have to change there some paths to make environment to know where compiled object files are located.

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

    neda (18th February 2016)

Similar Threads

  1. Replies: 1
    Last Post: 6th December 2009, 15:28
  2. Replies: 7
    Last Post: 18th September 2009, 15:44
  3. Replies: 1
    Last Post: 27th March 2009, 07:22
  4. Replies: 4
    Last Post: 24th November 2007, 14:33
  5. LINK : fatal error LNK1181: can't open 'delayimp.lib'
    By fcamlar in forum Installation and Deployment
    Replies: 10
    Last Post: 7th July 2006, 14:04

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.