2

i use haxeflixel and syntax import assets.manager.FileLoader;
after this i have error "type not found" my steps
1- terminal "haxelib install assetsmanager" ... done
2- Project.xml <haxelib name="assetsmanager" />
3- inside PS.hx "import assets.manager.FileLoader;"
third step create error . vscode terminal show me this

> Executing task: haxelib run lime test cpp -debug <

Called from ? line 1
Called from CommandLineTools.hx line 1400
Called from CommandLineTools.hx line 25
Called from a C function
Called from CommandLineTools.hx line 126
Called from CommandLineTools.hx line 619
Called from lime/project/PlatformTarget.hx line 70
Called from lime/tools/platforms/LinuxPlatform.hx line 300
Called from lime/project/HXProject.hx line 244
Called from lime/project/ConfigData.hx line 35
Called from lime/tools/helpers/ObjectHelper.hx line 127
Called from lime/tools/helpers/ObjectHelper.hx line 127
Called from lime/tools/helpers/ObjectHelper.hx line 127
Called from lime/tools/helpers/ObjectHelper.hx line 76
Called from /usr/share/haxe/std/neko/_std/Array.hx line 118
Uncaught exception - Invalid operation (+)
Процесс терминала завершен с кодом выхода: 1

this is function from Array.hx source

    public function push(x:T) : Int {
        var l = this.length;
        this.__grow(l + 1);  //line 118
        this.__a[l] = x;
        return l + 1;
    }

i use vscode 1.20.1 , ubuntu 16.04.3 x64, and import syntax from this link
https://github.com/tiagolr/assetsmanager/blob/master/tests/TestLoadFiles.hx

my lime 2.9.1 was rebuilded from source, that support api26 for android targeting.

full configuration

haxe 3.4.4
nekoVM 2.1.0

haxelib 3.3.0
assetsmanager: [1.2.0]
async: [0.3.0]
flixel-addons: [2.5.0]
flixel-demos: [2.4.3]
flixel-templates: [2.4.6]
flixel-tools: [1.4.1]
flixel-ui: [2.2.0]
flixel: [4.3.0]
format: [3.4.0]
hxcpp: [3.4.64] 3.4.188
lime-samples: [4.0.1]
lime: [2.9.1] rebuilded from source as i said above
mlib: [2.0.2]
msignal: [1.2.4]
openfl: [3.6.1]
  • Are you sure the error only happens if you include the library? – Gama11 Feb 18 '18 at 16:54
  • yes, i test it few minute ago when i comment 2- Project.xml `` 3- inside PS.hx "import assets.manager.FileLoader;" then app builded and work when i comment only import operator , error still raised. Project.xml syntax look like bad place. @Gama11 – lenivaya10001 Feb 18 '18 at 18:37
  • and i tried remove/install again , result = same error – lenivaya10001 Feb 18 '18 at 18:38
  • today i tried repeat same actions in windows 7 x64 and have same result = error line 118 @Gama11. and i tried switch between native lime 2.9.1 and rebuilded from source. Same error in both case. Like in case of ubuntu 16.04 x64 – lenivaya10001 Feb 20 '18 at 03:21

0 Answers0