question

kavehrahimi-5744 avatar image
0 Votes"
kavehrahimi-5744 asked Castorix31 commented

Link.exe not found

Hi , I have a header file in c++ 'CH341DLL.H' . When I debug it I receive:
Failed to locate: "link.exe".The system cannot find the file specified.
I don't know why do I receive this error?
Please help me.
Thanks

c++
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

The file name extension is wrong 'link.exe_' I don't know how to change the extension of it without any problem.
Thanks

0 Votes 0 ·
Castorix31 avatar image
0 Votes"
Castorix31 answered Castorix31 commented

Have you the path where link.exe is located in VC++ Directories ?

For example, with my version, I have :
[Configuration Properties] [VC++ Directories) [Executable Directories] :
$(VC_ExecutablePath_x86);$(CommonExecutablePath)
and if I look variables (by clicking <Edit...> in the ComboBox), I get :
E:\Program Files\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\bin\HostX86\x86
which is the path where link.exe is located

· 6
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Yes this is the path:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX86\x86

0 Votes 0 ·

and you have link.exe in this path ?

0 Votes 0 ·

No the file name is wrong 'link.exe_' the file extension is exe_ which is not correct.

0 Votes 0 ·
Show more comments
MayconBispodosSantos-4999 avatar image
0 Votes"
MayconBispodosSantos-4999 answered

Normalmente, esse erro é causado pela mudança de local do arquivo ou pela alteração das permissões do arquivo. Se a causa for a primeira, você precisará localizar o arquivo e alterar as configurações de origem, a divergência no nome do arquivo também pode ser a causa do erro.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.