Hello World, type not found hxd.App


#1

Hi, new to Haxe and Heaps, and cannot get the first hello world to work or even get to try and compile it.
Hashlink appears to be set up as hl in the console does give the correct output.

When I try and ‘configure the default build task’ there is no option for haxe, even if i type haxe : active configuration in the input box, nothing comes up. I navigated to the directory in the command prompt and ran compile.hxml manually and that did nothing, no warnings in the cmd prompt and no new files generated in the project directory.

compile.hxml
indent preformatted text by 4 spaces
-lib heaps
-js hello.js
-main Main
-debug

Main.hx:
indent preformatted text by 4 spaces
package helloHeaps;

class Main extends hxd.App {
    override function init() {
        var tf = new h2d.Text(hxd.res.DefaultFont.get(), s2d);
        tf.text = "Hello World !";
    }
    static function main() {
        new Main();
    }
}

using haxe 4rc, lib folder has format, heaps, hldx, hlopenal and hlsdl.

tried re-install haxe and heaps to no avail. Any ideas?

Thanks for your time.