Closed shackra closed 3 years ago
if I instead try to compile the source code from master I get the following:
Typing haxe.io._UInt8Array.UInt8Array_Impl_.fromBytes
Generating js: bin/castle.js
src/lvl/Image3D.hx:26: characters 16-36 : Warning : This typedef is deprecated in favor of js.lib.Float32Array
src/lvl/Image3D.hx:27: characters 17-36 : Warning : This typedef is deprecated in favor of js.lib.Uint16Array
/home/jorge/code/aur/castledb/src/castledb-git/haxelib/hx3compat/1,0,3/std/js/jquery/JQuery.hx:226: characters 28-56 : Warning : This typedef is deprecated in favor of js.lib.Thenable<js.Thenable.T>
/home/jorge/code/aur/castledb/src/castledb-git/haxelib/hx3compat/1,0,3/std/js/jquery/JQuery.hx:230: characters 54-62 : Warning : This typedef is deprecated in favor of js.lib.Error
/home/jorge/code/aur/castledb/src/castledb-git/haxelib/hx3compat/1,0,3/std/js/jquery/JQuery.hx:271: characters 143-171 : Warning : This typedef is deprecated in favor of js.lib.Thenable<js.Thenable.T>
src/lvl/Image3D.hx:65: characters 17-37 : Warning : This typedef is deprecated in favor of js.lib.Float32Array
src/lvl/Image3D.hx:66: characters 18-37 : Warning : This typedef is deprecated in favor of js.lib.Uint16Array
What version of haxe are you using?
Btw, 1.6.0 is really outdated; if needed I can help you getting haxe and libs version from back then.
Maybe you should use git version instead? It compiles fine with haxe 4.1.5
hi!
since this is Arch, the distro packages the latest version of Haxe. Compiling HEAD works fine indeed
El dom., 24 de enero de 2021 10:52, Rudy Ges notifications@github.com escribió:
What version of haxe are you using?
Btw, 1.6.0 is really outdated; if needed I can help you getting haxe and libs version from back then. Maybe you should use git version instead? It compiles fine with haxe 4.1.5
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ncannasse/castle/issues/126#issuecomment-766393185, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIBT4DOTXXZT7YKGYYTAP3S3RF6DANCNFSM4WQTUUXQ .
Hi, sorry I missed the part about master.. everything's fine there for now, and probably for a long time. I'd definitely use that for AUR.
Version 1.6.0 should be able to compile with haxe 4 by adding -lib hx3compat
, but currently fails due to a type hint missing in Image3D (static var inst:Image3D;
instead of static var inst;
line 409) . This version is greatly outdated and misses a lot of features. I'm not sure it's worth anything to bundle it, especially since fixing it would require making a new release with the tiny path I mentioned (or patch sources during bundling).
hmm, I think we can enjoy CastleDB compiled from master
Thanks for the replies!
I just saw your package on AUR :)
You do not want to use haxelib setup
there, as it will break haxe developers environment. Use haxelib newrepo
(line 32, and remove line 39) instead, it creates a local repository.
I fixed it when I was notified, thanks!
Hi!
Trying to pack this for Archlinux's AUR. I'm having an error with 1.6.0:
here is the full log:
output