Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [solved]:-1: error: cannot open output file release\counter.exe: Permission denied
Forum Updated to NodeBB v4.3 + New Features

[solved]:-1: error: cannot open output file release\counter.exe: Permission denied

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 5.5k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tecky
    wrote on 21 May 2013, 15:14 last edited by
    #1

    today, i write some program, start it and its work ok.
    than i make some changes in text and have some error.
    after this i pressed ctrl+z and back to my 1st version and have this error:
    ":-1: error: cannot open output file release\counter.exe: Permission denied
    collect2.exe:-1: error: error: ld returned 1 exit status"

    what is that?
    so i need to restart my Qt creator to open this again =(

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on 21 May 2013, 15:16 last edited by
      #2

      That is an annoying windows behavior: While the application is running its executable file is locked on disk. Close the application (yours, not Qt Creator;), wait for a couple of seconds and try again. Windows will remove the lock and you can build again.

      1 Reply Last reply
      0
      • T Offline
        T Offline
        tecky
        wrote on 21 May 2013, 15:24 last edited by
        #3

        ty [solved]

        1 Reply Last reply
        0

        1/3

        21 May 2013, 15:14

        • Login

        • Login or register to search.
        1 out of 3
        • First post
          1/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved