openfl / openfl-samples

Haxelib-based OpenFL sample projects
http://www.openfl.org
MIT License
78 stars 41 forks source link

SimpleOpenGLView sample -- "Invalid constructor arguments for Float32Array" #43

Open cburtbrown opened 8 years ago

cburtbrown commented 8 years ago

It looks like something has changed recently and now the SimpleOpenGLView sample isn't running for me. It dies in renderView with the message

Error : Invalid constructor arguments for Float32Array

I think this might be a pretty recent change. I haven't worked out how this can be fixed.

jgranick commented 8 years ago

Could you try upgrading your copy of Lime and OpenFL? I believe it should work with the latest versions

cburtbrown commented 8 years ago

I cloned the openfl-samples repository just in case the haxelib version is out-of-date.

Here's my haxelib list:

actuate: 1.8.6 [1.8.7]
babylonhx: git [dev:/usr/local/lib/haxelib/babylonhx/git]
format: [3.2.1]
hxcpp: 3.2.205 [3.3.49]
hxsl: [2.0.6]
hxtelemetry: 0.3.3 [0.3.4]
lime: 2.9.0 2.9.1 3.0.3 3.1.0 [3.2.1]
linc_dialogs: git [dev:/usr/local/lib/haxelib/linc_dialogs/git]
nme: 5.5.7 [5.6.4]
oimohx: git [dev:/usr/local/lib/haxelib/oimohx/git]
openfl-samples: 3.3.1 [4.0.0]
openfl-texturepacker: [1.0.0]
openfl: 3.6.1 4.0.3 4.1.0 [4.2.0]
poly2trihx: [0.1.4]
random: [1.4.1]
thx.core: [0.40.1]

I ran haxelib upgrade before trying this again, so it should be completely up to date.

I still get Error : Invalid constructor arguments for Float32Array.

Have I missed something?

edit: so just to be completely clear, the version of openfl-samples I'm testing is the git clone, not the one in haxelib.

cburtbrown commented 8 years ago

Ah, I've found some discussion which looks relevant