LoginSignup
0
0

More than 1 year has passed since last update.

Install HashLink virtual machine for Haxe on Mac

Last updated at Posted at 2022-02-13

↓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で修正する

  • 同じフォルダーのなかにmakesudo make codesign_osxそしてmake installを走行する。

  • hlを走行してみて、もし成功だったらこんなメッセージが現れる:

Screen Shot 2022-02-14 at 00.16.08.jpg

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 then sudo make codesign_osx then make install

  • Run hl to see if it has been successfully installed. If it has, you should get a message like this:

Screen Shot 2022-02-14 at 00.16.08.jpg

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.

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0