Building a new Main in a different directory

Complete haxe newbie here.

I built the demo button app OK with the proper file structure of assets src and an hxml file to instruct the compiler to compile cpp (I'm using wxwidgets backend)

*BUT* in a new directory of the same structure but deploying files from the Playground for a simple menu demo, I'm baffled

Baffled because somehow haxe built the original demo button app a second time over. So now I have two button demo Main executables (linux) but noooo menu demo executable

Hello! :wave:

Did you use a different .hxml?

EDIT: also where did you paste the xml from the explorer? The default app comes with a “main.xml” and “Main.hx” that uses that “main.xml”… if you make changes to the main.xml, it should show up

Cheers,
Ian

Ian thanks for this. In preparing to reply to your questions I think I have found the source of the problem

I'll investigate and report back. It's looking like user error as usual. Which is why two heads is always good even if they are on different shoulders.

1 Like

Yep User error. I had used differently named hxml files (to answer your question) but managed to confuse myself by mixing up the two assets sub directories

Lesson learned I hope. Problem solved, Thanks again

1 Like

no probs… glad its working! :slight_smile: