Link.exe not found

kaveh rahimi 61 Reputation points
2021-09-05T08:59:00.157+00:00

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++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,682 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Castorix31 84,281 Reputation points
    2021-09-05T09:37:09.093+00:00

    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


  2. Maycon Bispo dos Santos 1 Reputation point
    2021-09-05T13:33:56.577+00:00

    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.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.