LoginSignup
0
0

More than 3 years have passed since last update.

Nim:koch tools の失敗。原因と対処。

Posted at

koch.exeによるtoolsのビルドの失敗と対処

手順

以下のコマンドをnimのランタイムがあるルートディレクトリで実行。

nim-1.2.0>koch.exe tools

現象

以下のエラーメッセージが表示。


nim-1.2.0/dist/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/6.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot open output file [PROGRAM_DIRPAH]s/nim-1.2.0/bin/nimsuggest.exe: Permission denied
collect2.exe: error: ld returned 1 exit status
Error: execution of an external program failed: '[PROGRAM_DIRPAH]\nim-1.2.0\dist\mingw64\bin\gcc.exe  @nimsuggest_linkerArgs.txt'
FAILURE

原因と対処

自分の場合、VSCodeで開発中であった為、エラーがでていた。
なので、VSCodeを終了させて、再実行したら、成功した。
同じ問題に遭遇した人のためのメモ。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0