↓English below↓
目的
Haxe言語のHashLink VMをインスとる仕方の優しいガイドです。
仕方
-
Haxeをインストール: https://haxe.org/download/
-
git cloneでgithubからHashLinkをダウンロードしてhttps://github.com/HaxeFoundation/hashlink
-
新しい作られた
hashlink
フォルダーに移動して、brew bundle
を走行する -
brewのsymlinkが悪かったらbrewで修正する
-
同じフォルダーのなかに
make
、sudo make codesign_osx
そしてmake install
を走行する。 -
hl
を走行してみて、もし成功だったらこんなメッセージが現れる:
hl
がだめだったら、PATHにhashlinkが付いていないかもしれない。私のhl
は/usr/local/bin/hl
のなかにあります。
English
Purpose
This is just a simple guide to install the HashLink VM for the programming langauge Haxe. It's not too complicated but I've had some trouble with it whenever I've tried so I thought I'd just document how I did it.
Process
-
First install Haxe: https://haxe.org/download/
-
Download HashLink from github: https://github.com/HaxeFoundation/hashlink : there is a guide there install hashlink as well. I used it to make this but just made some things more explicit. I used git clone for this.
-
Enter the newly created hashlink folder and run
brew bundle
, which will install the packages from the brewfile in the hashlink folder. -
Check to make sure all packages have been installed, fix any symlinks which may be broken for the new packages
-
In the same folder, run
make
thensudo make codesign_osx
thenmake install
-
Run
hl
to see if it has been successfully installed. If it has, you should get a message like this:
If you get a message like command not found
, you may need to add hashlink to your PATH. My hl is located in /usr/local/bin/hl
which was already in my PATH.