Hello, I’m trying to install openfl on linux 64 bit machine. But I’ve got the following exception:
vklyovan@vklyovan-pc:~$ haxelib run openfl setup
Called from ? line 1
Called from RunScript.hx line 40
Called from helpers/PathHelper.hx line 197
Uncaught exception - Invalid field access : split
The same exception is occurred with haxelib run lime setup.
I have haxe 3.1.3, haxelib 3.1.0-rc.4 and here is the list with my haxelibs:
As I understand the issue correctly, haxelib just cannot access to standard String function split. But why? I have HAXE_STD_PATH pointed to haxe std folder, and I have String class there with split method. What am I doing wrong? Can someone help me with this issue?
Could you please try running haxelib path lime, and see what it returns? Also, do you have $HAXEPATH set? (you should not have to, quite the reverse, perhaps it is set and messing things up)
Hi. Sorry for bumping an old thread, but I’m facing exactly the same issue except that my HAXEPATH is not set. What did you set the HAXEPATH to? (Or rather what should it be set to?)
DeLorean:~ jakob$ haxelib run lime setup
Called from lime/system/System.hx line 553
Called from lime/system/System.hx line 304
Called from lime/system/System.hx line 414
Called from lime/system/System.hx line 239
Called from /usr/lib/haxe/std/neko/Lib.hx line 30
Uncaught exception - load.c(237) : Failed to load library : lime.ndll (dlopen(lime.ndll, 1): image not found)
Don’t know if it’s related. But the path to Lib.hx is wrong.
lime.ndll seems missing, strange, does /usr/local/lib/haxelib/lime/2,5,2/ndll/Linux/lime.ndll exists? (or the Linux64 folder depending on the architecture you have)
I have same split error with different line.
Same error with haxelib run openfl setup…
kappa@keepo:~/Project/lisp/game_engine$ haxelib run lime setup
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 61
Called from lime/tools/helpers/PathHelper.hx line 202
Uncaught exception - Invalid field access : split