First; thanks a lot for this amazing library!
I was trying to use the setEventCallback method in my own project, and it wasn't returning a callback, so I tested the square_events-example, but with var cl = require("node-opencl") in stead of var cl = require("../lib/opencl").
That was giving me a Segmentation fault: 11 when using the npm-installed version of node-opencl (version 0.4.5).
So I tried to clone the repo, do a npm install, and run the same code without modifying it. That worked.
So I tried in my original location to do a var cl = require("/Absolute/path/to/my/local/clone/of/node-opencl/lib/opencl"). That, again, worked.
So I believe that there is something happening when installing this library from npm that is different from cloning it from the repo, and building.
I tried linking directly to the repo in my package.json, in hopes that this would help;
//...
"dependencies":{
"node-opencl":"mikeseven/node-opencl#master",
//...
This, also, did not work correctly. I was not able to figure out what is going on. Perhaps someone know what is going on?
OS: MacOS Majove 10.14.1
Machine: Macbook "pro" 15 with intel HD graphics 530
First; thanks a lot for this amazing library!
I was trying to use the
setEventCallbackmethod in my own project, and it wasn't returning a callback, so I tested the square_events-example, but withvar cl = require("node-opencl")in stead ofvar cl = require("../lib/opencl").That was giving me a
Segmentation fault: 11when using the npm-installed version of node-opencl (version0.4.5).So I tried to clone the repo, do a
npm install, and run the same code without modifying it. That worked.So I tried in my original location to do a
var cl = require("/Absolute/path/to/my/local/clone/of/node-opencl/lib/opencl"). That, again, worked.So I believe that there is something happening when installing this library from npm that is different from cloning it from the repo, and building.
I tried linking directly to the repo in my
package.json, in hopes that this would help;This, also, did not work correctly. I was not able to figure out what is going on. Perhaps someone know what is going on?
OS: MacOS Majove 10.14.1
Machine: Macbook "pro" 15 with intel HD graphics 530