Difficulty in compiling C++ codes the second time because the - Microsoft Community


dear all,

i using windows 10, , eclipse ide mingw compiler c++ programming. build option works project first time. cannot execute build command second time because output exe files cannot opened. following error message:

"cannot open output file filename.exe: permission denied

collect2.exe: error: ld returned 1 exit status"

it appears older exe stays open somewhere in os after terminating ide. tried closing eclipse , deleting exe windows explorer. exe files reappear on refreshing explorer. task manager not show exe running , cannot figure out have open handle in os.

my questions following

1) how can figure out exe files open?

2) how can set os don't have manually close exe everytime. compiler have access replacing old exe when build command given.

thank help.

p.s. using mcafee total protection anti virus. 

think code still running, common problem eclipse . . .

in eclipse ide, click on 'window' - open perspective - debug

if there thread still running in top-left window, click , stop

before trying recompile code . . .


Windows / Windows 10 / Windows settings / PC



Comments

Popular posts from this blog

Error 0x80180018 when trying to add a second work account on Windows - Microsoft Community

How to sync (or sign-in) to Windows 10 properly? - Microsoft Community

Cannot connect to RDS 2012R2 session through RDWeb Gateway using - Microsoft Community