Important: Please read the Qt Code of Conduct -

NMAKE error code '0x490' when I run with QtCreator several times - MSVC2015 Qt5.12.2 W7 64bits

  • Hi,

    I'm using MSVC2015 with Qt 5.12.2 and the first time I run a project in Qt Creator, it runs fine. But, after closing the application, if I change whatever in the code and I launch again, It fails with the following error code:

    	link /NOLOGO /DYNAMICBASE /NXCOMPAT /DEBUG /SUBSYSTEM:WINDOWS "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'" /MANIFEST:embed /OUT:debug\testHmi.exe @C:\Users\jinesta\AppData\Local\Temp\nm544A.tmp
    LINK : fatal error LNK1168: cannot open debug\testHmi.exe for writing
    NMAKE : fatal error U1077: 'D:\msvc2015\VC\BIN\x86_amd64\link.EXE' : return code '0x490'
    NMAKE : fatal error U1077: 'D:\msvc2015\VC\BIN\nmake.exe' : return code '0x2'
    14:54:57: The process "D:\msvc2015\VC\BIN\nmake.exe" exited with code 2.
    Error while building/deploying project testHmi (kit: Desktop Qt 5.12.2 MSVC2015 64bit)
    When executing step "Make"


    this is my kit:


    In order to make it works again, I have to quit Creator and enter again, and after one launch, the error comes again... over and over....

    any idea?

    Thanks in advance.

  • Lifetime Qt Champion

    @JoeBermejales it seems you exe is not finished correctly. It may be the window is closed, but the app is still running.

    That would at least explain your problem.

  • @aha_1980 Thanks for your response... I look at the task manager but there is not a live process when it crashes... so I really don't know what is going on.

  • @JoeBermejales

    The application might be locked also by the antivirus scanner.

Log in to reply