Sen descrición

Yuxiao Mao d85d1f2667 upgrade hl version to 1.15 hai 7 meses
.github 9b768f262c [ci] upgrade to Ubuntu 22.04 (#738) hai 8 meses
include 2091e1c642 Added heaps lib (#732) hai 9 meses
libs 65e1bc4cfe [CI] Fix _GUID define impact make openal (#748) hai 7 meses
other 587ef0ed61 [hlmem] prevent unexpected null from TType.toString hai 8 meses
src d85d1f2667 upgrade hl version to 1.15 hai 7 meses
.gitattributes 4024fb6a61 Mark `include` dir as third party for github (#541) %!s(int64=3) %!d(string=hai) anos
.gitignore da2d384c53 Add vs2019 hlc compilation template (#509) %!s(int64=2) %!d(string=hai) anos
Brewfile 5406694b01 Add support for compiling against mbedtls 3.x. (#648) hai 1 ano
CMakeLists.txt f6175ed333 [ci] Run hlc tests on arm64 mac (#707) hai 1 ano
LICENSE d33328a4e2 Add license file %!s(int64=7) %!d(string=hai) anos
Makefile 67980baa1d [make] Clean up homebrew package config (#733) hai 8 meses
README.md d8f2ddc8cd Readme: add GL/glu.h dependency ubuntu 24.04 hai 1 ano
hl.sln 776672bfbc Restore some hl.sln, fix indent and new line for prev commit hai 8 meses
hl.vcxproj 2bc8b0aca0 added vtune jit support if HL_VTUNE is defined (by default in MSVC) %!s(int64=2) %!d(string=hai) anos
hl.vcxproj.filters 38c6a22471 added sampling profiler and chrome profiler json converter %!s(int64=5) %!d(string=hai) anos
libhl.vcxproj 2206f8c074 Migrate to pcre2 (#515) %!s(int64=2) %!d(string=hai) anos
libhl.vcxproj.filters 2206f8c074 Migrate to pcre2 (#515) %!s(int64=2) %!d(string=hai) anos

README.md

HashLink

HashLink

Build Status Build Status

HashLink is a virtual machine for Haxe https://hashlink.haxe.org

Building on Linux/OSX

HashLink is distributed with some graphics libraries allowing to develop various applications, you can manually disable the libraries you want to compile in Makefile. Here's the dependencies that you install in order to compile all the libraries:

  • fmt: libpng-dev libturbojpeg-dev libvorbis-dev
  • openal: libopenal-dev
  • sdl: libsdl2-dev libglu1-mesa-dev
  • ssl: libmbedtls-dev
  • uv: libuv1-dev
  • sqlite: libsqlite3-dev

To install all dependencies on the latest Ubuntu, for example:

sudo apt-get install libpng-dev libturbojpeg-dev libvorbis-dev libopenal-dev libsdl2-dev libglu1-mesa-dev libmbedtls-dev libuv1-dev libsqlite3-dev

For 16.04, see this note.

To install all dependencies on the latest Fedora, for example:

sudo dnf install libpng-devel turbojpeg-devel libvorbis-devel openal-soft-devel SDL2-devel mesa-libGLU-devel mbedtls-devel libuv-devel sqlite-devel

And on OSX:

brew bundle to install the dependencies listed in Brewfile.

Once dependencies are installed you can simply call:

make

To be able to use hashlink binary with the debugger you can then call:

sudo make codesign_osx

To install hashlink binaries on your system you can then call:

make install

Building on Windows

Open hl.sln using Visual Studio C++ and compile.

To build all of HashLink libraries it is required to download several additional distributions, read each library README file (in hashlink/libs/xxx/README.md) for additional information.

Debugging

You can debug Haxe/HashLink applications by using the Visual Studio Code Debugger

Documentation

Read the Documentation on the HashLink wiki.