-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Hello!
Just trying to create bot.
Compiled on debian 10 toxcore-c, tried to include it by
var toxAtPath = new toxcore.Tox({
path: '/path/to/libtoxcore.so',
this
crypto: '/path/to/libtoxencryptsave.so'
(another thing - how to compile this one with toxcore-c?)
});
but installing js-toxcore fails by npm install js-toxcore-c
even if i'm trying to install https://github.com/node-ffi/node-ffi
(by the way node-ffi is deprecated, actual fork is ffi-napi, which is perfectly included into our package.json of js-toxcore-c)
One way to successfully install project (it will compile toxcore-c automatically) is:
npm install https://github.com/TokTok/js-toxcore-c
Somewhy it perfectly works on fresh Debian 10 (and I will test it on 11 in a few hours) and installs on the MacOS Big Sur, but on the MacOS it fails with a few error when trying to start basic example (it may be thing with paths where toxcore-c installer puts compiled libs).
So developers, please, update README.md so no one won't lose much time like me, and thank you so much in general for this perfect binding (it really helps me working).
Note: in npm storage there is node-ffi, not ffi-napi