Skip to content

Commit b7086ee

Browse files
committed
Update Hello-Hashlink for change on moving some fmt API to lib format
1 parent 9955421 commit b7086ee

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Hello-HashLink.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,20 @@ Now that you have [installed](https://github.com/HeapsIO/heaps/wiki/Installation
3232
```
3333
-cp src
3434
-lib heaps
35+
-lib format
3536
-lib hlsdl
3637
-hl hello.hl
3738
-main Main
3839
```
3940

4041
- ``-cp src`` Tells haxe where to search for your code files
4142
- ``-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`)
4244
- ``-lib hlsdl`` Tells haxe to import the hlsdl rendering library
4345
- ``-hl hello.hl`` Tells haxe to compile to hashlink bytecode in the project directory
4446
- ``-main Main`` Tells haxe that Main.hx is your entry point
4547

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`.
4749

4850
## Open with VSCode
4951

0 commit comments

Comments
 (0)