lattenwald / erl-tdlib Goto Github PK
View Code? Open in Web Editor NEWErlang bindings to tdlib/td written in Rust
Erlang bindings to tdlib/td written in Rust
The tdlib would not compile.
The 'rebar3 compile' command returns:
===> Verifying dependencies...
===> Compiling tdlib
===> Unable to run post hooks for 'compile', command 'compile' in namespace 'rust' not found.
Erlang/OTP 25 [erts-13.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [jit:ns]
Cargo 1.70.0 (ec8a8a0ca 2023-04-25)
./rebar3 compile ===> Verifying dependencies... Compiling tdlib-nif v0.2.0 (/home/oper/Programs/tracker_rpc/_build/default/lib/tdlib/crates/tdlib-nif) error: could not compile
tdlib-nif(lib) due to 2 previous errors; 18 warnings emitted ===> Uncaught error in rebar_core. Run with DIAGNOSTIC=1 to see stacktrace or consult rebar3.crashdump ===> When submitting a bug report, please include the output of
rebar3 report "your command"
Error: {cargo_error,{101,
[#{<<"executable">> => null,
<<"features">> => [<<"default">>,<<"proc-macro">>],
<<"filenames">> =>
[<<"/home/oper/Programs/tracker_rpc/_build/default/lib/tdlib/target/debug/build/proc-macro2-0228cc05829635c7/build-script-build">>],
<<"fresh">> => true,
<<"manifest_path">> =>
<<"/home/oper/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.36/Cargo.toml">>,
<<"package_id">> =>
<<"proc-macro2 1.0.36 (registry+https://github.com/rust-lang/crates.io-index)">>,
<<"profile">> =>
#{<<"debug_assertions">> => true,
<<"debuginfo">> => null,
<<"opt_level">> => <<"0">>,
<<"overflow_checks">> => true,
<<"test">> => false},
<<"reason">> => <<"compiler-artifact">>,
<<"target">> =>
#{<<"crate_types">> => [<<"bin">>],
<<"doc">> => false,<<"doctest">> => false,
<<"edition">> => <<"2018">>,
<<"kind">> => [<<"custom-build">>],
<<"name">> => <<"build-script-build">>,
<<"src_path">> =>
<<"/home/oper/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.36/build.rs">>,
<<"test">> => false}},
#{<<"cfgs">> =>
[<<"use_proc_macro">>,<<"wrap_proc_macro">>],
<<"env">> => [],<<"linked_libs">> => [],
<<"linked_paths">> => [],
<<"out_dir">> =>
<<"/home/oper/Programs/tracker_rpc/_build/default/lib/tdlib/target/debug/build/proc-macro2-6f335e9bd6f698be/out">>,
<<"package_id">> =>
<<"proc-macro2 1.0.36 (registry+https://github.com/rust-lang/crates.io-index)">>,
<<"reason">> => <<"build-script-executed">>},
#{<<"executable">> => null,
<<"features">> => [<<"default">>],
<<"filenames">> =>
[<<"/home/oper/Programs/tracker_rpc/_build/default/lib/tdlib/target/debug/deps/libunicode_xid-bfeb5d092a72ddea.rlib">>,
<<"/home/oper/Programs/tracker_rpc/_build/default/lib/tdlib/target/debug/deps/libunicode_xid-bfeb5d092a72ddea.rmeta">>],
<<"fresh">> => true,
<<"manifest_path">> =>
<<"/home/oper/.cargo/registry/src/index.crates.io-6f17d22bba15001f/unicode-xid-0.2.2/Cargo.toml">>,
<<"package_id">> =>
<<"unicode-xid 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)">>,
<<"profile">> =>
#{<<"debug_assertions">> => true,
<<"debuginfo">> => null,
<<"opt_level">> => <<"0">>,
<<"overflow_checks">> => true,
<<"test">> => false},
<<"reason">> => <<"compiler-artifact">>,
<<"target">> =>
#{<<"crate_types">> => [<<"lib">>],
<<"doc">> => true,<<"doctest">> => true,
<<"edition">> => <<"2015">>,
<<"kind">> => [<<"lib">>],
<<"name">> => <<"unicode-xid">>,
<<"src_path">> =>
<<"/home/oper/.cargo/registry/src/index.crates.io-6f17d22bba15001f/unicode-xid-0.2.2/src/lib.rs">>,
<<"test">> => true}},
#{<<"executable">> => null,
<<"features">> => [<<"default">>,<<"proc-macro">>],
<<"filenames">> =>
[<<"/home/oper/Programs/tracker_rpc/_build/default/lib/tdlib/target/debug/deps/libproc_macro2-1845b056c836bec2.rlib">>,
<<"/home/oper/Programs/tracker_rpc/_build/default/lib/tdlib/target/debug/deps/libproc_macro2-1845b056c836bec2.rmeta">>],
<<"fresh">> => true,
<<"manifest_path">> =>
<<"/home/oper/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.36/Cargo.toml">>,
<<"package_id">> =>
<<"proc-macro2 1.0.36 (registry+https://github.com/rust-lang/crates.io-index)">>,
<<"profile">> =>
#{<<"debug_assertions">> => true,
<<"debuginfo">> => null,
<<"opt_level">> => <<"0">>,
<<"overflow_checks">> => true,
<<"test">> => false},
<<"reason">> => <<"compiler-artifact">>,
<<"target">> =>
#{<<"crate_types">> => [<<"lib">>],
<<"doc">> => true,<<"doctest">> => true,
<<"edition">> => <<"2018">>,
<<"kind">> => [<<"lib">>],
<<"name">> => <<"proc-macro2">>,
<<"src_path">> =>
<<"/home/oper/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.36/src/lib.rs">>,
<<"test">> => true}},
#{<<"executable">> => null,
<<"features">> =>
[<<"clone-impls">>,<<"default">>,<<"derive">>,
<<"extra-traits">>,<<"full">>,<<"parsing">>,
<<"printing">>,<<"proc-macro">>,<<"quote">>],
<<"filenames">> => `
===> Compiling tdlib cp: не удалось выполнить stat для 'priv/crates/tdlib_nif/0.2.0/release/libtdlib_nif.so': Нет такого файла или каталога ===> Hook for compile failed!
ls priv/crates/tdlib_nif/ tdlib_nif.so
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.