我想在Sublime Text 3中构建Free Pascal。然而,我总是遇到编码错误(如下所示)。我已经尝试使用编码保存文件,但问题依旧。
我创建了一个名为
我创建了一个名为
sublime-build
的文件:{
"cmd":["fpc $file & ${file_path}/${file_base_name}.exe"],
"shell" : true,
}
我的测试程序是一个简单的hello world:
Program HelloWorld;
begin
writeln("Hello, world!");
readln;
end.
我的错误代码:
[Decode error - output not utf-8]
[Finished in 0.0s with exit code 1]
[cmd: ['fpc C:\\Users\\korndi\\Documents\\FREI\\hellop.p & C:\\Users\\korndi\\Documents\\FREI/hellop.exe']]
[dir: C:\Users\korndi\Documents\FREI]
[path: C:\Python33\;;C:\FPC\2.6.2\bin\i386-Win32]