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