COMMUNITY

HaxeFlixel example does not run with Hashlink on MacOs

I am trying to run this Haxeflixel game (flixel-demos/Arcade/FlxSnake at master · HaxeFlixel/flixel-demos · GitHub) with this command:

lime test hl

But the game crash after the HaxeFlixel logo. I do not have any problem running openfl examples with hashlink.

Setup:

  • MacOS 11.3.1
  • Hashlink 1.12
  • Haxe 4.2.1

Full log:

Lime Command-Line Tools (7.9.0)

Initializing project...
Using project file: /Users/edu/dev/games/demos-flixel/Arcade/FlxSnake/project.xml
Reading Lime config: /Users/edu/.lime/config.xml

Running command: UPDATE
 - Detecting font name: /Users/edu/.haxelibrepo/flixel/4,9,0/assets/fonts/nokiafc22.ttf -> "Nokia Cellphone FC Small"
 - Detecting font name: /Users/edu/.haxelibrepo/flixel/4,9,0/assets/fonts/monsterrat.ttf -> "Monsterrat"
 - Writing file: export/hl/bin/FlxSnake.app/Contents/Resources/manifest/default.json

Running command: BUILD
 - Copying library file: /Users/edu/.haxelibrepo/lime/7,9,0/ndll/Mac64/lime.hdll -> export/hl/bin/FlxSnake.app/Contents/MacOS/lime.hdll
 - Running command: haxe export/hl/haxe/debug.hxml
/Users/edu/.haxelibrepo/hscript/2,4,0/hscript/Interp.hx:145: characters 8-18 : Warning : Std.is is deprecated. Use Std.isOfType instead.
/Users/edu/.haxelibrepo/hscript/2,4,0/hscript/Interp.hx:180: characters 8-18 : Warning : Std.is is deprecated. Use Std.isOfType instead.
/Users/edu/.haxelibrepo/hscript/2,4,0/hscript/Interp.hx:221: characters 8-18 : Warning : Std.is is deprecated. Use Std.isOfType instead.
/Users/edu/.haxelibrepo/hscript/2,4,0/hscript/Interp.hx:515: characters 8-18 : Warning : Std.is is deprecated. Use Std.isOfType instead.
/Users/edu/.haxelibrepo/hscript/2,4,0/hscript/Interp.hx:483: characters 37-56 : Warning : Std.is is deprecated. Use Std.isOfType instead.
/Users/edu/.haxelibrepo/hscript/2,4,0/hscript/Interp.hx:484: characters 31-47 : Warning : Std.is is deprecated. Use Std.isOfType instead.
/Users/edu/.haxelibrepo/hscript/2,4,0/hscript/Interp.hx:646: characters 10-42 : Warning : Std.is is deprecated. Use Std.isOfType instead.
 - Copying file: /Users/edu/.haxelibrepo/lime/7,9,0/templates/bin/hl/mac/hl -> export/hl/bin/FlxSnake.app/Contents/MacOS/hl
 - Copying file: export/hl/obj/ApplicationMain.hl -> export/hl/bin/FlxSnake.app/Contents/MacOS/hlboot.dat
 - Renaming file: export/hl/bin/FlxSnake.app/Contents/MacOS/hl -> export/hl/bin/FlxSnake.app/Contents/MacOS/FlxSnake
 - Running command: chmod 755 export/hl/bin/FlxSnake.app/Contents/MacOS/FlxSnake

Running command: RUN
 - Changing directory: export/hl/bin/FlxSnake.app/Contents/MacOS
 - Running command: ./FlxSnake -verbose -livereload
[lime.utils.Preloader] Preloading asset library: default
[lime.utils.Preloader] Loaded asset library: default [1/1]
[lime.utils.Preloader] Preload complete
2021-05-27 18:33:45.352 FlxSnake[59654:1878898] Warning: Expected min height of view: (<NSButton: 0x7fbc2a274750>) to be less than or equal to 30 but got a height of 32.000000. This error will be logged once per view in violation.
2021-05-27 18:33:45.355 FlxSnake[59654:1878898] Warning: Expected min height of view: (<NSButton: 0x7fbc2a2618e0>) to be less than or equal to 30 but got a height of 32.000000. This error will be logged once per view in violation.
2021-05-27 18:33:47.805 FlxSnake[59654:1878898] Warning: Expected min height of view: (<NSButton: 0x7fbc2a28bac0>) to be less than or equal to 30 but got a height of 32.000000. This error will be logged once per view in violation.
2021-05-27 18:33:47.808 FlxSnake[59654:1878898] Warning: Expected min height of view: (<NSButton: 0x7fbc2a28a780>) to be less than or equal to 30 but got a height of 32.000000. This error will be logged once per view in violation.

MacOS log: appcrash - Pastebin.com

haxelib list:

actuate: [1.8.9]
box2d: [1.2.3]
castle: [1.6.1]
flixel-addons: [2.10.0]
flixel-demos: [2.7.4]
flixel-templates: [2.6.6]
flixel-tools: [1.5.1]
flixel-ui: [2.3.3]
flixel: [4.9.0]
format: [3.5.0]
hashlink: [0.1.0]
heaps: [1.9.1]
hlopenal: [1.5.0]
hlsdl: [1.10.0]
hscript: [2.4.0]
hxcpp: [4.2.1]
hxjava: [4.2.0]
layout: [1.2.1]
lime-samples: [7.0.0]
lime: [7.9.0]
openfl-samples: [8.7.0]
openfl: [9.1.0]
systools: [1.1.0]

Any idea?