Нема описа

70/V9 23e0694d62 fix mouse position for button events (#796) пре 4 дана
.github 7ad65a02f0 [ci] use Windows 2022 (#794) пре 3 недеља
include 2091e1c642 Added heaps lib (#732) пре 7 месеци
libs 23e0694d62 fix mouse position for button events (#796) пре 4 дана
other b7e7f915ba [hlprof] small refacto and add option --collapse-recursion пре 1 недеља
src c7bb8d5cfc Sig handler: do not dump on non-hl thread пре 1 месец
.gitattributes 4024fb6a61 Mark `include` dir as third party for github (#541) пре 3 година
.gitignore 005592f61e [gc] remove memmove usage in hl_remove_roots (#778) пре 3 месеци
Brewfile 5406694b01 Add support for compiling against mbedtls 3.x. (#648) пре 1 година
CMakeLists.txt 3a7d4af44b Bump hl/haxelib version to 1.16 (#792) пре 1 месец
LICENSE d33328a4e2 Add license file пре 7 година
Makefile 67980baa1d [make] Clean up homebrew package config (#733) пре 6 месеци
README.md 15059beec5 Readme: add more info to Windows deps пре 4 месеци
hl.sln 82ea54ca47 hl.sln: make hl the default startup project пре 4 месеци
hl.vcxproj 2bc8b0aca0 added vtune jit support if HL_VTUNE is defined (by default in MSVC) пре 1 година
hl.vcxproj.filters 38c6a22471 added sampling profiler and chrome profiler json converter пре 5 година
libhl.vcxproj 2206f8c074 Migrate to pcre2 (#515) пре 2 година
libhl.vcxproj.filters 2206f8c074 Migrate to pcre2 (#515) пре 2 година

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.

In short you'll probably need:

Debugging

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

Documentation

Read the Documentation on the HashLink wiki.