Nominate our 2022 Qt Champions!

Lnk1104 cannot open file 'debug\JeffOneQt.exe'

  • I keep getting this error and I don't know why. It let me compile and run the program a couple times. Then I change some code, try to run it again, and this pops up. I have no idea what is causing it. Any help would be greatly appreciated, thanks!

  • This is the error code:
    If it helps, I am on Windows 7 and using the Microsoft Visual C++ compiler
    23:28:02: Running build steps for project JeffOneQt...
    23:28:02: Configuration unchanged, skipping qmake step.
    23:28:02: Starting: "D:\QtSDK\QtCreator\bin\jom.exe"
    D:\QtSDK\QtCreator\bin\jom.exe -nologo -j 2 -f Makefile.Debug
    link /LIBPATH:"d:\QtSDK\Desktop\Qt\4.8.1\msvc2010\lib" /NOLOGO /DYNAMICBASE /NXCOMPAT /DEBUG /MANIFEST /MANIFESTFILE:"debug\JeffOneQt.intermediate.manifest" /SUBSYSTEM:WINDOWS "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='' publicKeyToken='6595b64144ccf1df' language='' processorArchitecture=''" /OUT:debug\JeffOneQt.exe @C:\Users\Jeff\AppData\Local\Temp\JeffOneQt.exe.1356.0.jom
    LINK : fatal error LNK1104: cannot open file 'debug\JeffOneQt.exe'

    jom 1.0.6 - empower your cores

    command failed with exit code 1104
    command failed with exit code 2
    23:28:02: The process "D:\QtSDK\QtCreator\bin\jom.exe" exited with code 2.
    Error while building project JeffOneQt (target: Desktop)
    When executing build step 'Make'

  • Most probably because your application is still running. Make sure it has terminated before trying to re-compile (re-link) it.

  • Yeah, that was it. Thanks a lot!

Log in to reply