Notepad++ から直接 C コードを実行できるように、NppExec を構成しようとしています。このリンクhttp://windowsbro.blogspot.in/2012/10/compile-with-notepad-any-language.htmlに従って NppExec を構成しましたが、次のエラーが発生しました
NPP_SAVE: D:\Code\hello24.c
gcc "D:\Code\hello24.c"
Process started >>>
c:/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot open output file a.exe: Permission denied
collect2.exe: error: ld returned 1 exit status
<<< Process finished. (Exit code 1)
cmd /c "D:\Code\a.exe"
Process started >>>
'D:\Code\a.exe' is not recognized as an internal or external command,
operable program or batch file.
<<< Process finished. (Exit code 1)
C:\MinGW\bin\gcc.exeで実行ウィンドウの 2 行目 ( gcc "$(FULL_CURRENT_PATH)" ) も変更しようとしましたが、次のエラーが発生しました。
NPP_SAVE: D:\Code\hello24.c
C:\MinGW\bin\gcc.exe
Process started >>>
gcc.exe: fatal error: no input files
compilation terminated.
<<< Process finished. (Exit code 1)
cmd /c "D:\Code\a.exe"
Process started >>>
'D:\Code\a.exe' is not recognized as an internal or external command,
operable program or batch file.
<<< Process finished. (Exit code 1)
助言がありますか?私はこれに慣れていないので、詳細を見逃している場合は親切にお知らせください。
ありがとう