Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/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='6.0.0.0' 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'
    Stop.
    NMAKE : fatal error U1077: 'D:\msvc2015\VC\BIN\nmake.exe' : return code '0x2'
    Stop.
    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"
    

    0_1552917724445_c19ec31a-6ebc-482d-9ff2-3ef7fb4e3cdd-image.png

    this is my kit:

    0_1552917746511_d26cc562-b227-45c0-97d2-9be7d375d11b-image.png

    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