Mingw32-make.exe[1]: Nothing to be done for `first'.



  • Dear all,

    I get this log while debugging the project. My project was working and I was able to debug it. I made some changes in the code, not in the project configuration or in tool chain, and then I started having this.

    11:21:03: Running build steps for project Window...
    11:21:03: Configuration unchanged, skipping qmake step.
    11:21:03: Starting: "C:\QtSDK\mingw\bin\mingw32-make.exe"
    C:/QtSDK/mingw/bin/mingw32-make.exe -f Makefile.Debug
    mingw32-make.exe[1]: Entering directory C:/.../project-folder' mingw32-make.exe[1]: Nothing to be done forfirst'.
    mingw32-make.exe[1]: Leaving directory C:/.../project-folder'
    11:21:03: The process "C:\QtSDK\mingw\bin\mingw32-make.exe" exited normally.

    Any idea why is it like this?

    Regards,


  • Moderators

    This is perfectly normal. Make scans your source code for changes and only compiles the code from files that were modified. If it does not detect any changes, it simply prints out that information.


  • Moderators

    sierdzio is completely for the case that no code has been changed. However, if I understand you correctly, you have changed the code and you receive this message. Furthermore, when debugging apparently the code changes might not have applied. If this is the case, it helps to rerun qmake from Qt creator (right mouse click on project name and "run qmake") and build the code again.



  • Thanks Sierdzio and Koahnig for your help.
    My problem is the program does not execute after this and there is no output. Whereas, it was executing correctly previously.

    P.S: Koahnig, executing "rum qmake" did not help. Still the same situation



  • I noticed that I get the same output for other successfully launched projects.

    11:21:03: Running build steps for project Window…
    11:21:03: Configuration unchanged, skipping qmake step.
    11:21:03: Starting: “C:\QtSDK\mingw\bin\mingw32-make.exe”
    C:/QtSDK/mingw/bin/mingw32-make.exe -f Makefile.Debug
    mingw32-make.exe1: Entering directory C:/…/project-folder’ mingw32-make.exe1: Nothing to be done forfirst’.
    mingw32-make.exe1: Leaving directory C:/…/project-folder’
    11:21:03: The process “C:\QtSDK\mingw\bin\mingw32-make.exe” exited normally.

    Here is my problem:
    When in debug mode; program would not complete the "launching" bar [this bar is initially grey and becomes green after project launch is complete in normal execution] in QT creator and would remain grey.

    When I set break point on main() function; it would never hit that break point.


  • Moderators

    Take your time, go through the source slowly: you are probably missing some small detail where you least expect it :D Such is the Way of Coding ;)



  • I accidentally deleted DLL path. Thanks for your help and advice.

    Regards


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.