You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Hello-HashLink.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,18 +32,20 @@ Now that you have [installed](https://github.com/HeapsIO/heaps/wiki/Installation
32
32
```
33
33
-cp src
34
34
-lib heaps
35
+
-lib format
35
36
-lib hlsdl
36
37
-hl hello.hl
37
38
-main Main
38
39
```
39
40
40
41
-``-cp src`` Tells haxe where to search for your code files
41
42
-``-lib heaps`` Tells haxe to import the heaps library
43
+
-``-lib format`` Tells haxe to import the format library containing Hashlink API for native image conversion (it is recommanded to install the lib with `haxelib git format https://github.com/HaxeFoundation/format`)
42
44
-``-lib hlsdl`` Tells haxe to import the hlsdl rendering library
43
45
-``-hl hello.hl`` Tells haxe to compile to hashlink bytecode in the project directory
44
46
-``-main Main`` Tells haxe that Main.hx is your entry point
45
47
46
-
The `-lib hlsdl` tells Heaps to compile with SDL/OpenGL support. If you are on Windows you can use `-lib hldx`instead.
48
+
The `-lib hlsdl` tells Heaps to compile with SDL/OpenGL support. If you are on Windows you can also use `-lib hldx`or `-lib hldx -D dx12`.
0 commit comments