I am trying to integrate BabylonHx with haxeflixel but when compiling for android, the compilation stop with this message:
C:/HaxeToolkit/haxe/lib/lime/2,4,7/lime/Assets.hx:498: characters 31-57 : DefaultAssetLibrary should be lime.AssetLibrary
C:/HaxeToolkit/haxe/lib/lime/2,4,7/lime/Assets.hx:498: characters 31-57 : For function argument 'library'
It seems to be an issue already encountered with openfl-bitfive:
But here, I am not compiling for HTML5 target but for android so I don't think the compiler would use openfl-bitfive...
I fixed it by changing line 498 of the lime.Asset class from
registerLibrary ("default", new DefaultAssetLibrary ());
to
registerLibrary ("default", new AssetLibrary());
as the error message suggested and it now seems to compile correctly. But it would be better to have a permanent fix that would not requiere me to change these lines at each update of the lime lib ...
Any idea on how to do this?
My configuration:
actuate: 1.7.5 1.8.5 [1.8.6]
akifox-asynchttp: [0.4.1]
BabylonHx: git [dev:C:\HaxeToolkit\haxe\lib/BabylonHx/git]
box2d: [1.2.3]
extension-iap: [1.1.0]
extension-locale: [1.0.0]
extension-share: 1.2.2 [2.1.0]
extensionkit: git [dev:C:\HaxeToolkit\haxe\lib/extensionkit/git]
firetongue: [1.0.0]
flixel-addons: [1.1.0] git
flixel-demos: 1.1.1 [1.1.2]
flixel-templates: [1.0.2]
flixel-tools: 1.0.2 1.0.5 1.1.0 [1.1.1]
flixel-ui: [1.0.2]
flixel: 3.3.6 3.3.8 [3.3.9] git
haxe-ga: 0.4.16 0.4.21 0.5.0 [0.5.2]
haxe-gif: [0.3.3]
haxelib_client: 3.1.0-rc.4 [3.2.0-rc.3]
hxColorToolkit: [1.6.0]
hxcpp: 3.1.39 [3.2.102] 3.2.94
layout: [1.2.0]
lime-samples: [2.3.0]
lime: 2.0.0 2.0.0-alpha 2.0.1 2.4.1 2.4.3 2.4.4 2.4.6 [2.4.7]
mobiledisplay: git [dev:C:\HaxeToolkit\haxe\lib/mobiledisplay/git]
nape: 2.0.16 [2.0.19]
OimoHx: git [dev:C:\HaxeToolkit\haxe\lib/OimoHx/git]
openfl-admob: 1.2.1 1.2.2 1.4.0 [1.4.1]
openfl-gpg: 1.0.0 1.2.2 [1.3.0]
openfl-gps-lib: 1.0.1 1.0.2 [1.0.4]
openfl-locale: 1.0.0 [1.0.1]
openfl-samples: 2.1.0 [2.2.2]
openfl-share: 1.2.0 [1.2.2]
openfl: 2.1.0 2.1.6 2.1.7 3.0.0-beta.2 3.0.6 3.0.8 3.1.0 [3.1.1]
poly2trihx: [0.1.4]
polygonal-ds: [1.4.1]
polygonal-printf: [1.0.2-beta]
svg: [1.0.8]
swf: 1.6.0 1.6.9 1.7.0 1.8.7 1.8.8 [1.8.9]
systools: [1.1.0]
task: [1.0.6]
thx.color: [0.16.0]
thx.core: 0.25.1 [0.26.0]
thx.culture: [0.3.0]
thx.format: [0.2.1]
thx.promise: [0.5.1]
thx.semver: [0.2.2]
thx.stream: [0.4.1]
thx.unit: [0.4.1]