Haxe, Neko and OpenFL on Raspberry Pi

181 views
Skip to first unread message

David Peek

unread,
Jul 19, 2013, 9:35:19 PM7/19/13
to haxe...@googlegroups.com
I got a Raspberry Pi yesterday and managed to get Haxe and Neko compiled from source. I feel like I'm pretty close on the OpenFL front too (after some desperate googling and blind guesses) but have gotten stuck on a GL issue.

The steps (as I remember them) are documented here:

(note: some highly inadvisable linux practises in there, I have no plans to use this pi for anything other than playing)

PiratePig compiles ok, and launching with "startx ./PiratePig" plays a snippet of jaunty music at least. There seems to be an issue with compiling the nme opengl shaders though:

Created opengl context 1824x984.
Unknown error compiling shader :

uniform mat4 uTransform
;
attribute vec4 aVertex
;
attribute vec2 aTexCoord
;
varying vec2 vTexCoord
;
void main(void)
{
   vTexCoord
= aTexCoord;
   gl_Position
= aVertex * uTransform;
}

In my help-quest through the googles last night I'm sure I saw something about needing to apt-get install some gl libraries, only I can't seem to find the page I saw it on. Any suggestions from the OpenFL team?

Once everything is working I might do a clean install and carefully document a walkthrough so others can follow along at home. Also happy to put together some haxe/neko nightlies (and nme ndlls too if that might help?) to simplify the process.

Thanks,
David

Franco Ponticelli

unread,
Jul 20, 2013, 2:32:26 PM7/20/13
to haxe...@googlegroups.com
Did you install OCaml from sources? I'd like to compile haxe/neko on the eaglebone black with angrstrom but OCaml doesn't seem to be available.

Franco


--
To post to this group haxe...@googlegroups.com
http://groups.google.com/group/haxelang?hl=en
---
You received this message because you are subscribed to the Google Groups "Haxe" group.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

David Peek

unread,
Jul 20, 2013, 9:37:08 PM7/20/13
to haxe...@googlegroups.com
I followed the instructions here to install ocaml via apt-get (and from the repository it looks like there is a source install available too)

Franco Ponticelli

unread,
Jul 20, 2013, 10:29:52 PM7/20/13
to haxe...@googlegroups.com
Angrstrom has opkg and I can't find an ocaml source :(


On Sat, Jul 20, 2013 at 7:37 PM, David Peek <ninja...@gmail.com> wrote:
I followed the instructions here to install ocaml via apt-get (and from the repository it looks like there is a source install available too)

--
Reply all
Reply to author
Forward
0 new messages