Raspberry pi issue


#1

So i’m trying to get haxe/openfl running on a Raspberry pi 3…
Used this script: https://gist.github.com/gepatto/325441767959d79e00378e54cf9f4ad9

Everything installs but there are some issues:
-When i try to build something i get the error : “Standard library not found”
-Also when i try to run “lime” i get “lime not installed”, but using “sudo lime” it works…

Tried setting up /etc/environment with HAXE_STD_PATH but does not help…

Any clues to this anyone?
Thanks :slight_smile:


#2

What does haxelib path or haxelib list return, with and without sudo?


#3

Hm.
“haxelib path” or “sudo haxelib path” seem to return nothing…

“sudo haxelib list”
actuate: [1.8.9]
box2d: [1.2.3]
format: [3.4.2]
hxcpp: [4.0.8]
hxp: [1.1.0]
layout: [1.2.1]
lime-samples: [7.0.0]
lime: 7.2.1 [dev:/root/Development/haxe/dev/lime]
openfl-samples: [8.7.0]
openfl: 8.4.0 [8.8.0]

“haxelib list” :
hxcpp: [4.0.8]


#4

Perhaps run haxelib set <path to haxelib directory> without being a super user?

You may also want to change user permissions on the haxe lib directory, like chmod -R 777 path/to/haxe/lib


#5

Ah, seems like it was just an issue with the user permission! Thanks :+1::sunglasses: