No Description

Nicolas Cannasse 0ff5b47725 make sure that mysql socket is cooperative wrt gc global lock 5 hours ago
.github d4917a7dc6 Support ClangCL on Windows. (#880) 1 week ago
include d8b1d8e889 update vendored glext.h (#884) 6 days ago
libs 0ff5b47725 make sure that mysql socket is cooperative wrt gc global lock 5 hours ago
other 9f1b6ea928 Add INT16_MAX to macro clashes (#883) 1 week ago
src 86d15f389f Allow linking against system pcre2 (#886) 2 days ago
.gitattributes 4024fb6a61 Mark `include` dir as third party for github (#541) 3 years ago
.gitignore 005592f61e [gc] remove memmove usage in hl_remove_roots (#778) 10 months ago
Brewfile 5406694b01 Add support for compiling against mbedtls 3.x. (#648) 2 years ago
CMakeLists.txt 86d15f389f Allow linking against system pcre2 (#886) 2 days ago
LICENSE d33328a4e2 Add license file 7 years ago
Makefile 86d15f389f Allow linking against system pcre2 (#886) 2 days ago
README.md 15059beec5 Readme: add more info to Windows deps 1 year ago
hl.sln 7033ab84ba Add dx12debug and pixEvent (#877) 1 week ago
hl.vcxproj 2dbafef6ac [dx12] add VS solution ReleaseDX12Agility (#864) 1 month ago
hl.vcxproj.filters 3218d84e08 Add hlsystem.h to vcxproj, remove unused extern function 3 months ago
libhl.vcxproj 86d15f389f Allow linking against system pcre2 (#886) 2 days ago
libhl.vcxproj.filters 2206f8c074 Migrate to pcre2 (#515) 2 years ago

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.