Skip to content

Fail with installation (way to fix it included!) #150

@methaqualon

Description

@methaqualon

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions