Need Help for Error

  • Hi

    Have a nice day,When i debug my application it display two errors i mention error details below i need to know what are the possible reasons for that kind of errors i faced that error in second time but still i havent proper solution for it.

    11:28:00: Running steps for project PatternDebuger...
    11:28:00: Configuration unchanged, skipping qmake step.
    11:28:00: Starting: "C:\Qt\Qt5.0.1\Tools\MinGW\bin\mingw32-make.exe"
    C:/Qt/Qt5.0.1/Tools/MinGW/bin/mingw32-make -f Makefile.Debug
    mingw32-make[1]: Entering directory 'C:/Qt/qtcreator-2.1.0/PatternDebuger-build-Desktop_Qt_5_0_1_MinGW_32bit-Debug'
    g++ -Wl,-subsystem,windows -mthreads -o debug\PatternDebuger.exe debug/main.o debug/mainwindow.o debug/logreader.o debug/eventfactory.o debug/moc_mainwindow.o -lmingw32 -lqtmaind -LC:\Qt\Qt5.0.1\5.0.1\mingw47_32\lib -lQt5Widgetsd -lQt5Guid -lQt5Cored -llibEGLd -llibGLESv2d -lgdi32 -luser32
    c:/qt/qt5.0.1/tools/mingw/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/bin/ld.exe: cannot open output file debug\PatternDebuger.exe: Permission denied
    collect2.exe: error: ld returned 1 exit status
    Makefile.Debug:84: recipe for target 'debug\PatternDebuger.exe' failed
    mingw32-make[1]: *** [debug\PatternDebuger.exe] Error 1
    mingw32-make[1]: Leaving directory 'C:/Qt/qtcreator-2.1.0/PatternDebuger-build-Desktop_Qt_5_0_1_MinGW_32bit-Debug'
    makefile:34: recipe for target 'debug' failed
    mingw32-make: *** [debug] Error 2
    11:28:00: The process "C:\Qt\Qt5.0.1\Tools\MinGW\bin\mingw32-make.exe" exited with code 2.
    Error while building/deploying project PatternDebuger (kit: Desktop Qt 5.0.1 MinGW 32bit)
    When executing step 'Make'


  • Moderators

    may it be that your PatternDebuger.exe is still running while you try to compile?

  • No i check task manager :(

  • Moderators

    then you can check with "ProcessExplorer": if ther is an active handle on the file.
    Do this by choosing "FIND -> Find Handle or DLL" and enter PatternDebuger. You will get a list of which process is still accessing the file.

  • Ok I will check , thanks for your information

Log in to reply

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