deepnight/gameBase

Encounter "Failed to load library directx.hdll" Error When Running GameBase Project on wsl2

Andyyyy64 opened this issue · 2 comments

Hi,

I'm new to Haxe and the Heaps engine, and I'm attempting to build a simple RPG game for learning purposes. I decided to use the gameBase repository as a starting point. However, I'm encountering a recurring error when trying to run the game:

src/module.c(373) : FATAL ERROR : Failed to load library directx.hdll

I followed these steps based on the guidelines provided for the gameBase project:

  1. Installed Haxe (I can compile .hx files and run them without issues).
  2. Installed Heaps.
  3. Executed the following commands as per the setup instructions:
    • haxe setup.hxml
    • haxe build.directx.hxml
    • hl bin/client.hl

Despite these efforts, the error persists. Here's an additional context that might be helpful:

image

haxelib list
ase: [2.0.3]
castle: [git]
deepnightLibs: 1.0.80 [git]
format: [3.7.0]
hashlink: git [dev:/home/andy/haxelib/hashlink/git/other/haxelib/]
heaps-aseprite: 0.1.2 [git]
heaps: 2.0.0 [git]
hldx: 1.14.0 git [dev:/home/andy/haxelib/hldx/git/libs/directx]
hlopenal: [1.5.0]
hlsdl: 1.14.0 git [dev:/home/andy/haxelib/hlsdl/git/libs/sdl]
hscript: 2.5.0 [git]
hxcpp-debug-server: [dev:/home/andy/.vscode-server/extensions/vshaxe.hxcpp-debugger-1.2.4/hxcpp-debug-server]
ldtk-haxe-api: 1.0.0 [git]
redistHelper: [0.7.3]
 hl
HL/JIT 1.14.0 (c)2015-2023 Haxe Foundation
  Usage : hl [--debug <port>] [--debug-wait] <file>

I'm using WSL for my development environment. Could this be related to the issue? Any suggestions on how to resolve this error would be greatly appreciated.

Thank you for your assistance.

thank you for the response!!
I try it but it shows another error...
image
all build options shows some kinda error and i have no clue.