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

Segmentation fault using documentation example #15

Open
almilo opened this issue Oct 4, 2015 · 0 comments
Open

Segmentation fault using documentation example #15

almilo opened this issue Oct 4, 2015 · 0 comments

Comments

@almilo
Copy link

almilo commented Oct 4, 2015

After fixing the example code in 'https://github.com/joshmarinacci/aminogfx' ('group' renamed as 'root'), I get a 'Segmentation fault' error after the 'starting the event loop' console log. The offending command seems to be 'rect.x.anim().to(100).start();'.
(Environment: RPI II, Raspian Wheezy and Node v0.12.6)

var amino = require('aminogfx-gl');

amino.start(function(core, stage) {
var root = new amino.Group();
stage.setRoot(root);

 var rect = new amino.Rect().w(100).h(100).fill('#ff0000');
 root.add(rect);

 rect.x.anim().to(100).start();     // Segmentation fault

});

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

1 participant