Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
cburtbrown opened this issue Sep 27, 2016 · 3 comments

Comments

@cburtbrown
Copy link

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
Copy link
Member

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

@cburtbrown
Copy link
Author

cburtbrown commented Sep 27, 2016

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
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants