Нет описания

Nicolas Cannasse f8fe7ebb3d descriptors api 3 лет назад
include 898f2429b5 don't redefine snprintf for newer msvc 5 лет назад
libs f8fe7ebb3d descriptors api 3 лет назад
other 9c60491791 Match .lib names to defaults generated by solution (#449) 4 лет назад
src c2ce41f13d allow to pass struct* directly to C without wrapping 4 лет назад
.gitignore f5cdabb517 added glsl to spir-v shader compilation 4 лет назад
Brewfile af995b1821 build: add codesign_osx make target (#368) 5 лет назад
CMakeLists.txt dcc7ad058b Add debug support for MacOS (#367) 5 лет назад
LICENSE d33328a4e2 Add license file 7 лет назад
Makefile 70a1884cd3 Allow passing extra linker flags (#387) 5 лет назад
README.md 1392e1a9cb Update README.md (#423) 5 лет назад
azure-pipelines.yml f44b35ac80 build: prevent fixing SDL2 header path (#354) 5 лет назад
hl.sln f7ab3eee8c added hl mysql library 7 лет назад
hl.vcxproj 38c6a22471 added sampling profiler and chrome profiler json converter 6 лет назад
hl.vcxproj.filters 38c6a22471 added sampling profiler and chrome profiler json converter 6 лет назад
hlc.vcxproj b528b62c1b replace HL OSetMethod by object method binding (for static & dynamic methods) 9 лет назад
hlc.vcxproj.filters b528b62c1b replace HL OSetMethod by object method binding (for static & dynamic methods) 9 лет назад
libhl.vcxproj d1556da8ee alloc.c -> gc.c compilation 6 лет назад
libhl.vcxproj.filters d1556da8ee alloc.c -> gc.c compilation 6 лет назад

README.md

HashLink

HashLink

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

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

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

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.