Closed darthdeus closed 4 years ago
You should install latest git versions of the libs:
haxelib git heaps https://github.com/HeapsIO/heaps.git
haxelib git hxnodejs https://github.com/HaxeFoundation/hxnodejs.git
haxelib git electron https://github.com/tong/hxelectron.git
haxelib git deepnightLibs https://github.com/deepnight/deepnightLibs.git
haxelib git castle https://github.com/ncannasse/castle.git
Hi, sorry for reopen issue, but I have same issue. I try to compile 0.5.0 and get these error:
/g/_Gits/deepnight_led (0.5.0)
$ haxe renderer.debug.hxml
src.data/data/def/AutoLayerRuleDef.hx:105: characters 29-49 : Module led.Json does not define type AutoRuleDef
In 0.4.1: /g/_Gits/deepnight_led ((v0.4.1-beta-fix)) $ haxe renderer.debug.hxml
src.renderer/App.hx:232: characters 42-49 : SessionData should be Bool
src.renderer/App.hx:232: characters 42-49 : For function argument 'storeAsJson'
src.renderer/App.hx:70: characters 51-58 : SessionData should be Bool
src.renderer/App.hx:70: characters 51-58 : For function argument 'isJsonStorage'
src.renderer/App.hx:84: lines 84-87 : Void -> Void should be (msg : String) -> Void
I follow all steps haxelib newrepo and haxelib install all
You already have electron version 10.1.5 installed
You already have castle version 1.6.1 installed
You already have led-haxe-api version 1.0.13 installed
You already have hxnodejs version 12.1.0 installed
You already have heaps version 1.8.0 installed
You already have deepnightLibs version 1.0.52 installed
and reinstall this, as README.md say.
haxelib git heaps https://github.com/HeapsIO/heaps.git
haxelib git hxnodejs https://github.com/HaxeFoundation/hxnodejs.git
haxelib git electron https://github.com/tong/hxelectron.git
haxelib git deepnightLibs https://github.com/deepnight/deepnightLibs.git
haxelib git castle https://github.com/ncannasse/castle.git
but errors still apearing.
Also I tryed to compile renderer.hxml instead renderer.debug.hxml, but same result.
Can some one help me?
Sorry about this one: I'm in the middle of a project renaming (from LEd to LDtk) and this might break a few things.
To build from git, make sure you're using 0.5.0 branch, and use the new haxelib:
haxelib remove led-haxe-api
haxelib install ldtk-haxe-api
Hi again, thanks very much, but new errors appear.
/g/_Gits/deepnight_led (0.5.0) $ haxe renderer.debug.hxml
src.renderer/ui/modal/dialog/ColorPicker.hx:27: characters 11-21 : Class<dn.Color> has no field isValidHex
src.renderer/ui/modal/dialog/ColorPicker.hx:28: characters 25-39 : Class<dn.Color> has no field sanitizeHexStr
src.renderer/ui/modal/dialog/ColorPicker.hx:27: characters 11-21 : Class<dn.Color> has no field isValidHex
src.renderer/ui/modal/dialog/ColorPicker.hx:28: characters 25-39 : Class<dn.Color> has no field sanitizeHexStr
src.renderer/ui/modal/dialog/ColorPicker.hx:35: characters 10-20 : Class<dn.Color> has no field isValidHex
src.renderer/ui/modal/dialog/ColorPicker.hx:36: characters 24-38 : Class<dn.Color> has no field sanitizeHexStr
src.renderer/ui/modal/dialog/ColorPicker.hx:79: characters 9-19 : Class<dn.Color> has no field isValidHex
src.renderer/ui/modal/dialog/ColorPicker.hx:81: characters 36-50 : Class<dn.Color> has no field sanitizeHexStr
src.renderer/ui/modal/dialog/ColorPicker.hx:81: characters 36-50 : Class<dn.Color> has no field sanitizeHexStr
src.renderer/ui/modal/dialog/ColorPicker.hx:81: characters 36-50 : Class<dn.Color> has no field sanitizeHexStr
src.renderer/App.hx:266: characters 49-57 : Too many arguments
src.renderer/exporter/Exporter.hx:51: characters 7-12 : dn.Log has no field onAdd
src.renderer/App.hx:67: characters 19-28 : Class<dn.LocalStorage> has no field BASE_PATH
src.renderer/App.hx:80: characters 52-55 : Too many arguments
src.renderer/App.hx:85: lines 85-92 : Too many arguments
src.renderer/exporter/Tiled.hx:32: characters 27-55 : Class<dn.Lib> has no field findMostFrequentValueInArray
Tested in 0.5.0 and master
Make sure haxelibs are up-to-date. From command line:
haxelib update
Following the instructions in the README the renderer build seems to be failing
I've installed all the libs locally with
haxelib newrepo
andhaxelib install all
, getting the following versions