Hello World, type not found hxd.App


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.

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

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.


I know this post is a little over a month old now, but I had the same issue exactly as you’ve mentioned it. I was able to work around this by following the steps listed near ~20 minutes into this video. Hope this helps!