按照http://iitdu.forumsmotion.com/t108-gcc-compiler-in-notepad
上的说明操作但是,在使用(下面)提供的代码执行NPPExec时,ld.exe会显示一条警告,详细说明缺少linintl-8.dll。
// The script code, C source code compiling with GNU CC (GCC) in notepad++ (by "NppExec" plug-in) and compressing with UPX...
//
// Enable? "//" signs remove in code line.
// Sample: C:\Program Files\CodeBlocks\MinGW\bin\gcc.exe "$(FULL_CURRENT_PATH)" -o $(NAME_PART)
YOUR_GCC\BIN\_PATH_HERE\gcc.exe "$(FULL_CURRENT_PATH)" -o $(NAME_PART)
// UPX Compress (with "--best, --ultra-brute" options)
// Enable? "//" signs remove in code line.
// Sample: C:\WINDOWS\system32\upx.exe --best --ultra-brute $(NAME_PART).exe
YOUR_UPX_PATH_HERE\upx.exe --best --ultra-brute $(NAME_PART).exe
然而,我可以看到linintl-8.dll位于mingw的bin目录中。
有没有人知道如何解决这个问题,或者在记事本++中成功编译C的方法完全不同?
答案 0 :(得分:1)
我不是Windows专家,但我知道dll应该在C:/System
或C:/System32
的某个位置用于Windows 7,你应该检查这个问题: