Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29234 Обсуждение

fatal error LNK1168 cannont open EXE for writing

bmchenrync
Новичок
2 429Просмотр.

I recall this issue from way back, haven't encountered in a while

However

i finally moved to win 11 (all worked fine on win10)

on win11 machine when recompiling after walking through code and exiting

the debugger i am guessing does NOT properly release the exe

i have a few silly workarounds of exiting, logging out, or  standing on head 

However

There must be an easier resolution?

surprised search didn't bring this up since it was BIG many years ago

 

thanks in advance for any hints

 

brian

 

0 баллов
1 Решение
bmchenrync
Новичок
2 330Просмотр.

soooo....

Update: Visual Studio had a major update Version 17.14.9 (July 2025)

I just installed and it now seems to release all files so can walk thru debug and then recompile 

Просмотреть решение в исходном сообщении

4 Ответы
bmchenrync
Новичок
2 421Просмотр.

adding running latest IFORT on Visual Studio 2022 

for some reason it locks down the debug exe so can't rebuild

andrew_4619
Почетный участник III
2 385Просмотр.

In task manager is the exe still active? Use a application like "lockhunter" if necessary set a prebuild task to unlock the exe.

bmchenrync
Новичок
2 349Просмотр.

will check out lockhunter. but no, the exe is not still active.

But

the project has 3 DLLs and expecting one of them win11 isn't releasing

or

MSVS 2022 isn't releasing since doesn't occur on win10/msvs 2019.

thanks for the tip will keep digging

 

bmchenrync
Новичок
2 331Просмотр.

soooo....

Update: Visual Studio had a major update Version 17.14.9 (July 2025)

I just installed and it now seems to release all files so can walk thru debug and then recompile 

Ответить