HeapsIO / heaps-doc

Heaps documentation
21 stars 56 forks source link

Hello HashLink Tutorial not working #28

Open PsionicAlch opened 5 years ago

PsionicAlch commented 5 years ago

I'm running Linux Ubuntu 18.10. Haxe 4.0.0-rc.2+77068e1. HashLink HL/JIT 1.9.0 (c)2015-2018 Haxe Foundation.

I tried the Hello HashLink tutorial, but when I press F5 I get a popup from Visual Studio Code saying: "Could not start 'hl' process, executable was not found in PATH. Restart VSCode or computer."

I restarted both VSCode and my computer. I tried adding the hl file path to to PATH.

What am I doing wrong?

Naruto0 commented 4 years ago

Make sure you will have the $PATH set for permanently. When you set it in terminal just with export, the envvar is set for the scope of the terminal only. It may be that the script is spawning new terminal where the $PATH is not valid. See the bash part of this article https://opensource.com/article/17/6/set-path-linux