↓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
makethensudo make codesign_osxthenmake install -
Run
hlto 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.
