Sublimetext3 没有此类文件';haxe';崇高的文本3

Sublimetext3 没有此类文件';haxe';崇高的文本3,sublimetext3,haxe,Sublimetext3,Haxe,我试图在sublime text 3中编译haxe,但我总是得到错误: [Errno 2] No such file or directory: 'haxe' [cmd: ['haxe', 'build.hxml']] [dir: /home/bob/Desktop] [path: /usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/home/bob/.local/bin:/home/bob/bin] [Finished] Error

我试图在sublime text 3中编译haxe,但我总是得到错误:

[Errno 2] No such file or directory: 'haxe'
[cmd: ['haxe', 'build.hxml']]
[dir: /home/bob/Desktop]
[path: /usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/home/bob/.local/bin:/home/bob/bin]
[Finished]
Error: Could not process argument haxe -main HelloWorld
Class name must start with uppercase character
Build failed
我正在运行Fedora22,在我的主文件夹中提取了Haxe tar,我还按Ctrl+Shift+p并安装了haxelib和Haxe软件包。我的两个文件是heloWorld.hx

class HelloWorld {
    static public function main() {
        trace("Hello World");
    }
}
并生成build.hxml:

# Autogenerated build.hxml

# hellowWorld (js:hellowworld.js)
-main hellowWorld

js hellowworld.js

为什么haxe不是一个构建系统选项,或者它根本就没有编译?

我发现我需要将haxe可测试项添加到/usr/bin/中,因为它是linux上通常查找路径的地方。出现的另一个问题是,无论类名是否为小写,我都会得到错误:

[Errno 2] No such file or directory: 'haxe'
[cmd: ['haxe', 'build.hxml']]
[dir: /home/bob/Desktop]
[path: /usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/home/bob/.local/bin:/home/bob/bin]
[Finished]
Error: Could not process argument haxe -main HelloWorld
Class name must start with uppercase character
Build failed

我发现我需要在/usr/bin/中添加haxe可测试项,因为在linux上通常会在其中查找路径。出现的另一个问题是,无论类名是否为小写,我都会得到错误:

[Errno 2] No such file or directory: 'haxe'
[cmd: ['haxe', 'build.hxml']]
[dir: /home/bob/Desktop]
[path: /usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/home/bob/.local/bin:/home/bob/bin]
[Finished]
Error: Could not process argument haxe -main HelloWorld
Class name must start with uppercase character
Build failed