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
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
The text was updated successfully, but these errors were encountered:
Fixed second time =)
I thought that repo somehow installs libtoxcore.so and including it into js (does it?)
If you have issue with not finding libtoxcore.so but installed it with bash script from this repository, it may help you: export LD_LIBRARY_PATH=/usr/local/lib
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',
thiscrypto: '/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 installhttps://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
The text was updated successfully, but these errors were encountered: