-
Notifications
You must be signed in to change notification settings - Fork 34
Description
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