deepnight / gameBase

Base structure for my games, using Heaps framework and Haxe language.
https://deepnight.net
MIT License
614 stars 152 forks source link

Failed to load library directx.hdll #53

Closed alberteddu closed 3 years ago

alberteddu commented 3 years ago

Hey — first of all, thanks a lot for sharing this! I was looking forward to try this out (coming from Unity), but I'm unable to start the game (right after cloning).

$ haxe hl.dx.hxml $ hl bin/client.hl src/module.c(360) : FATAL ERROR : Failed to load library directx.hdll

I'm on MacOS. Writing an issue here because I have no idea how to debug and googling didn't help. Let me know if I can share anything else about my environment that can help find the problem.

deepnight commented 3 years ago

Hi! On macos, you should build either a HL+SDL version or a JS version. The hl.dx.hxml stands for DirectX:

haxe hl.sdl.hxml

or

haxe js.hxml
alberteddu commented 3 years ago

Thanks a lot!