-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Domkit sample in Heaps + example in docs doesn't compile #47
Comments
I got second issue to work 🎉 Had to do the following to get it to compile:
static function updateComponentId(p:domkit.Properties<Dynamic>) {
cast(p.obj,h2d.Object).name = p.id.toString();
} I saw that 👆is fixed in This is my haxelib list btw, which might be of interest to someone: domkit: 0.2.0 [git]
format: [3.6.0]
heaps: [1.10.0]
hldx: [1.13.0]
hlopenal: [1.5.0]
hlsdl: [1.13.0]
hscript: [2.5.0]
hxcpp-debug-server: [dev:/Users/adamramberg/.vscode/extensions/vshaxe.hxcpp-debugger-1.2.4/hxcpp-debug-server] I'm leaving the issue open since I think 2 actions are needed:
Let me know if I should submit PR:s for any of the above. |
I also got the first issue to work for WebGL builds 🎉 Must have been some weird issue with mismatching installs of haxelibs on my machine. However, I still can't build for |
If it is of any help I just updated dependencies of my domkit sample repo with (almost) the latest versions that should work for hl and js: |
Very cool! Being new to the echo system, I didn't know that you were able to resolve dependencies like that. That makes it somewhat reliable between machines and functions a little like a |
Hello there 👋 Beginner Heaps developer here. Got here because of the Unity mess and Heaps seems like a really cool and promising engine.
Disclaimer
Not sure if this issue belongs to this repo or to the Heaps repo. Let me know if you want me to report the same issue in the other repo.
The issue
I'm not able to compile either:
Steps to reproduce #1
2b) Generate build directory
2c) Compile for Hashlink using
haxe ./build/domkit/domkit_hl.hxml
from the samples directory.The following error is shown:
Steps to reproduce #2
try-domkit
3b) Hitting F5 or...
3c) Run
haxe compile.hxml
from the root of the repo.The following error is shown:
Thoughts
Seems to me (but hey I'm a noob to Hexe and Heaps) that domkit hasn't been updated to match the API changes in the
heaps
package. Or maybe there is a mismatch of my local deps. I followed the getting started guide to setup everything so I should have the lastest of all the packges though.The text was updated successfully, but these errors were encountered: