kelly / node-i2c

Node.js native bindings for i2c-dev. Plays well with Raspberry Pi and Beaglebone.
Other
216 stars 91 forks source link

i2c.node: undefined symbol: _ZN2v.... #3

Closed robotnic closed 11 years ago

robotnic commented 11 years ago

I have the FTDI UM201XB and now I try to talk to this device using your library.

My Program: var i2c = require('i2c'); var wire = new i2c('/dev/i2c-0', {debug: true});

Output:

/node_modules/i2c/build/Release/i2c.node: undefined symbol: _ZN2v816FunctionTemplate3NewEPFNS_6HandleINS_5ValueEEERKNS_9ArgumentsEES3_NS1_INS_9SignatureEEEi at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.require (module.js:364:17) at require (module.js:380:17) at Object. (/home/bernhard/www/usb/node_modules/i2c/lib/i2c.coffee:8:10) at Object. (/home/bernhard/www/usb/node_modules/i2c/lib/i2c.coffee:86:4) at Module._compile (module.js:456:26) at Object.require.extensions..coffee (/home/bernhard/www/usb/node_modules/i2c/node_modules/coffee-script/lib/coffee-script/coffee-script.js:22:21) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12)


What do I wrong?

kelly commented 11 years ago

Are you using the pkg install for node.js? If so, i'd recommend building from source.