我正在尝试配置 NppExec,以便我可以直接从 Notepad++ 运行 C 代码。我按照此链接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 更改执行窗口中的第二行(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)
有什么建议么?我是新手,如果我错过了任何细节,请告诉我。
谢谢