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 used node to run index.js (new file I created):
var clips = require('node-clips');
var env = new clips.Environment();
env.initialize( function (){
// Load .clp file
env.load(__dirname+'/animal.clp', function () {
// Reset environment and run
env.reset(function(){
// Rule firing limit set to 1000
env.run(1000, function() {
// Log fact list to console
console.log(env.facts());
// Dispose of the CLIPS environment and free memory
env.dispose(function(){
});
});
});
});
});
Then I also imported the animal.clp.
I am running Mac OSX 10.9.2 and I receive the following error:
dyld: lazy symbol binding failed: Symbol not found: __Z17CreateEnvironmentv
Referenced from: //Documents/Node/node_modules/node-clips/build/Release/node_clips.node
Expected in: dynamic lookup
dyld: Symbol not found: __Z17CreateEnvironmentv
Referenced from: /Documents/Node/node_modules/node-clips/build/Release/node_clips.node
Expected in: dynamic lookup
Trace/BPT trap: 5
The error is occurring with the load. I assume it will have issues with the others too.
The text was updated successfully, but these errors were encountered:
I used node to run index.js (new file I created):
var clips = require('node-clips');
var env = new clips.Environment();
env.initialize( function (){
// Load .clp file
env.load(__dirname+'/animal.clp', function () {
});
});
Then I also imported the animal.clp.
I am running Mac OSX 10.9.2 and I receive the following error:
dyld: lazy symbol binding failed: Symbol not found: __Z17CreateEnvironmentv
Referenced from: //Documents/Node/node_modules/node-clips/build/Release/node_clips.node
Expected in: dynamic lookup
dyld: Symbol not found: __Z17CreateEnvironmentv
Referenced from: /Documents/Node/node_modules/node-clips/build/Release/node_clips.node
Expected in: dynamic lookup
Trace/BPT trap: 5
The error is occurring with the load. I assume it will have issues with the others too.
The text was updated successfully, but these errors were encountered: