AutoIt / SublimeAutoItScript

AutoItScript Au3 language package for SublimeText including syntax highlighting, comments toggling, auto-completions, build systems for run and compile, Tidy command, IncludeHelper command.
https://www.autoitscript.com/forum/forum/7-autoit-technical-discussion/
MIT License
29 stars 11 forks source link

Cannot compile au3 files from Sublime Text 3 #35

Open Paw2Pom opened 3 years ago

Paw2Pom commented 3 years ago

I tried to compile a au3 file using CTRL+B, these error messages appeared:

Help please!

[WinError 2] The system cannot find the file specified [cmd: ['C:\Program Files\AutoIt3\Aut2Exe\Aut2exe.exe', '/in', 'C:\Users\jpom_xps17\Documents\ISN AutoIt Studio\Projects\Tutorials\Examples\calculator.au3']] [dir: C:\Users\jpom_xps17\Documents\ISN AutoIt Studio\Projects\Tutorials\Examples] [path: C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\dotnet\;C:\Users\jpom_xps17\AppData\Local\Microsoft\WindowsApps;C:\Users\jpom_xps17.dotnet\tools;C:\Users\jpom_xps17\AppData\Local\Programs\Microsoft VS Code\bin] [Finished]

NSUSpray commented 2 years ago

Hi, Paw2Pom! Maybe your Aut2exe path is differ of C:\Program Files\AutoIt3\Aut2Exe\Aut2exe.exe. Try to change AutoItCompilerPath value in AutoIt.sublime-settings (user settings). Or try to use fork of this package with paths auto setup.