HeapsIO / heaps

Heaps : Haxe Game Framework
http://heaps.io
MIT License
3.22k stars 340 forks source link

FATAL ERROR : Failed to load function sdl@gl_polygon_offset #1208

Closed wihu closed 5 months ago

wihu commented 7 months ago

Hi, I tried to follow the heaps official hello world tutorial: https://heaps.io/documentation/hello-world.html with: haxe: 4.3.4 hashlink: 1.14.0 heaps: 2.0.0 platform: macos sonoma 14.4.1

compiled successfully with: haxe compile.hxml

-cp src
-lib heaps
# -js hello.js
-lib hlsdl
-main Main
-hl bin/game.hl
-debug

then running: hl bin/game.hl and getting this error:

src/module.c(567) : FATAL ERROR : Failed to load function sdl@gl_polygon_offset
Nazariglez commented 5 months ago

This can help you https://github.com/deepnight/gameBase/issues/109#issuecomment-2118409098

ncannasse commented 5 months ago

usually it means your heaps is more recent than your hashlink binaries, you should upgrade to more recent hashlink.

wihu commented 5 months ago

This can help you deepnight/gameBase#109 (comment)

Thank you!