I am trying to configure NppExec so that I can run C codes directly from Notepad++. I followed this link http://windowsbro.blogspot.in/2012/10/compile-with-notepad-any-language.html to configure NppExec but it resulted in following error
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)
I also tried change the second line(gcc "$(FULL_CURRENT_PATH)") in Execute window by C:\MinGW\bin\gcc.exe, but then it resulted in following error:
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)
any suggestions? I am new to this and if I have missed any detail kindly let me know.
Thanks