HeapsIO / heaps

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

Heaps SDL Error #376

Closed Doppp closed 6 years ago

Doppp commented 6 years ago

Not sure if this is the right place for this but I'm struggling to find documentation and guides to setup and get Heaps running plus I'm a noob so apologies in advance.

Tinkering around with this example application at the moment (it appears to be somewhat incomplete and wrong too e.g. Compile for HashLink section has js target) and trying to follow Nicolas' talk from Haxe Summit.

I can compile and run -lib hldx but now I am trying do -lib hlsdl in my build.hxml and get the following error when trying to compile with HashLink:

sdl

I'm guessing there's some issue with the SDL library? I'm using the latest HashLink binary and Haxe 4.0.0-preview.3 on VS Code. In this case, I did haxelib dev <path/to/hashlink/libs/sdl> instead of using the actual hlsdl library. Also downloaded the latest binary release of HashLink.

Doppp commented 6 years ago

For the case where I used the actual hlsdl library, I got the following error.

error

ncannasse commented 6 years ago

My fault, I failed to update sdl/directx haxelibs after releasing HL 1.5 Should be fixed now, simply haxelib install hlsdl + hldx + hlopenal

Doppp commented 6 years ago

Thank you!