No Description

Nicolas Cannasse 8a755cd312 added queries 3 years ago
.github 0d2561f780 fixed build tools version 3 years ago
include 898f2429b5 don't redefine snprintf for newer msvc 5 years ago
libs 8a755cd312 added queries 3 years ago
other 2fc544f09e fixed int64 changes 3 years ago
src f0f5069d35 added fast safe_cast from null<t> to t (close #551) 3 years ago
.gitattributes 4024fb6a61 Mark `include` dir as third party for github (#541) 3 years ago
.gitignore c61e914594 started dx12 driver 3 years ago
Brewfile 880b81d4e4 [make] Add sqlite.hdll target (#520) 3 years ago
CMakeLists.txt 55f3609330 Fix linux dynamic library issue when installing to `/usr/local/` (#483) 3 years ago
LICENSE d33328a4e2 Add license file 7 years ago
Makefile db1def60d4 fixes for release vc version 3 years ago
README.md 880b81d4e4 [make] Add sqlite.hdll target (#520) 3 years ago
azure-pipelines.yml 77d0dd69ee upgrade images to vs2019 3 years ago
hl.sln ad91a3ae17 more dx12 api, integrate with hl compilation 3 years ago
hl.vcxproj 6e4987f245 remove vs2015/2017 configurations, added release to 2019 + 10.0 sdk 3 years ago
hl.vcxproj.filters 38c6a22471 added sampling profiler and chrome profiler json converter 6 years ago
libhl.vcxproj 6e4987f245 remove vs2015/2017 configurations, added release to 2019 + 10.0 sdk 3 years ago
libhl.vcxproj.filters d1556da8ee alloc.c -> gc.c compilation 6 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
  • 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 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.