I have a little issue with my openfl setup. I’m running Ubuntu 14.04. Everything works, I can create and compile a project with lime, except the openfl command:
juju@my-latop:~$ openfl
> openfl: command not found
I guess only a symlink is missing somewhere but I can’t find the right path. Can anyone help me please?
Thanks!
hxcpp is up to date
lime-tools is up to date
Do you want to install the "lime" command? [y/n/a] ?
And choosing “y” does not fix this issue (which seems logic, the lime command has nothing to do with this I guess). I don’t really mind re-installing everything but I’m afraid I will eventually run into the same problem.
When you see Do you want to install the "x" command?, what it means is, if you pick yes/all, you can then run the command. In this case, if you say yes, you can then run that command from the command-line.
Haxe is a complicated stack, especially if you use a game library like HaxeFlixel (which I do). In order to setup all the dependencies takes a bit of time. Thankfully, most of the libraries detect and install dependencies correctly.
You should get another prompt asking you to setup the openfl command. If you don’t, run haxelib run openfl setup. It should give you a similar prompt.
Are you planning to use bare-bones OpenFL, or something on top? If it’s the latter, you may not need to worry about this (HaxeFlixel, for example, has its own project generator, so you don’t need the openfl command).