You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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;
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 withvar cl = require("node-opencl")
in stead ofvar cl = require("../lib/opencl")
.That was giving me a
Segmentation fault: 11
when 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
The text was updated successfully, but these errors were encountered: