27.11.2016, 18:08
Any tutorial out there on how to compile with Sublime Text 3??
Does it have same things as pawno??
Does it have same things as pawno??
Compiling For this to work, you will need a plugin called NppExec. If you already have it, skip this step.
Can't load 32 bit plugin
{
"cmd": ["${project_path:${folder}}/pawno/pawncc.exe", "$file_name", "-;+", "-v2", "-d3", "-\\)+"],
"working_dir": "${file_path}",
"file_regex": "^([^\\.]+\\.pwn)\\((\\d+)\\)() : (.*)$",
"variants": [
{
"cmd": ["${project_path:${folder}}/pawno/pawncc.exe", "$file_name", "-;+", "-v2", "-d3", "-\\)+", "-l"],
"working_dir": "${file_path}",
"name": "Preprocessed output"
},
{
"cmd": ["${project_path:${folder}}/pawno/pawncc.exe", "$file_name", "-;+", "-v2", "-d3", "-\\)+", "-a"],
"working_dir": "${file_path}",
"name": "P-code output"
}
]
}
[WinError 2] The system cannot find the file specified [cmd: ['/pawno/pawncc.exe', 'Untitled.pwn', '-;+', '-v2', '-d3', '-\\)+']] [dir: C:\Users\Micko\Desktop\MySQL\gamemodes] [path: C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\GtkSharp\2.12\bin;C:\Program Files (x86)\Skype\Phone\] [Finished]
{ "cmd": ["pawncc.exe", "-i includes", "$file", "-;+", "-d3", "-\\)+"], "working_dir": "C\\Users\\Micko\\Desktop\\MySQL", "file_regex": "^([^\\.]+\\.pwn)\\((\\d+)\\)() : (.*)$", "variants": [ { "cmd": ["pawncc.exe", "-i includes", "$file", "-;+", "-d3", "-\\)+", "-l"], "working_dir": "C\\Users\\Micko\\Desktop\\MySQL", "name": "Preprocessed output" }, { "cmd": ["pawncc.exe", "-i includes", "$file", "-;+", "-d3", "-\\)+", "-a"], "working_dir": "C\\Users\\Micko\\Desktop\\MySQL", "name": "P-code output" } ] }
Okay I managed to do this but now when compiling nothing is shown.. Not even errors or warnings that I made on purpose to check compiler.. It is empty
I also saved it as Pawno.sublime-build |
{
"cmd": ["${project_path:${folder}}/pawno/pawncc.exe", "$file_name", "-;+", "-v2", "-d3", "-\\)+"],
"working_dir": "${file_path}",
"file_regex": "^([^\\.]+\\.pwn)\\((\\d+)\\)() : (.*)$",
"variants": [
{
"cmd": ["${project_path:${folder}}/pawno/pawncc.exe", "$file_name", "-;+", "-v2", "-d3", "-\\)+", "-l"],
"working_dir": "${file_path}",
"name": "Preprocessed output"
},
{
"cmd": ["${project_path:${folder}}/pawno/pawncc.exe", "$file_name", "-;+", "-v2", "-d3", "-\\)+", "-a"],
"working_dir": "${file_path}",
"name": "P-code output"
}
]
}