Giter VIP home page Giter VIP logo

Comments (8)

s3prakash avatar s3prakash commented on July 1, 2024 1

Yes.It worked. Thanks a lot. I'm enjoying Storytel on my desktop now. I'm closing this issue now.

from storytel-tui.

javsanpar avatar javsanpar commented on July 1, 2024

Hi!

I can not reproduce your problem, I do not have errors when compiling.

Which OS and version of rust are you using?

Thank you for trying storytel-tui!

from storytel-tui.

s3prakash avatar s3prakash commented on July 1, 2024

sivas@pop-os:/etc/apt$ uname -a
Linux pop-os 5.11.0-7620-generic #21162437974721.04~3abeff8-Ubuntu SMP Wed Jun 23 02:34:03 UTC x86_64 x86_64 x86_64 GNU/Linux

I'm having brand new installation of Pop OS 21.04

sivas@pop-os:~/programs/git/storytel-tui$ rustc --version
rustc 1.50.0

from storytel-tui.

s3prakash avatar s3prakash commented on July 1, 2024

Hi,

I have no experience with Rust. But let me know if any additional debug messages are needed. Thanks for helping with this.

Thank you.

from storytel-tui.

javsanpar avatar javsanpar commented on July 1, 2024

I just pushed a fix, 624bd42. Try it if you can.

The repository did not have a Cargo.lock file, so you built the project with dependencies and versions different from the ones I used.

Still, I have to check why the project do not compile with the latest versions of the dependencies.

from storytel-tui.

s3prakash avatar s3prakash commented on July 1, 2024

Hi,

Now the compiling is successful but the linking process fails as below.

x-gnu/lib/libcompiler_builtins-eb6c1ebbc79c2607.rlib" "-Wl,-Bdynamic" "-lmpv" "-lssl" "-lcrypto" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc"
= note: /usr/bin/ld: cannot find -lmpv
collect2: error: ld returned 1 exit status

Caused by:
process didn't exit successfully: rustc --crate-name storytel_tui --edition=2018 src/main.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C metadata=64d8cf0b0cf94f22 -C extra-filename=-64d8cf0b0cf94f22 --out-dir /home/sivas/programs/git/storytel/storytel-tui/target/release/deps -L dependency=/home/sivas/programs/git/storytel/storytel-tui/target/release/deps --extern cursive=/home/sivas/programs/git/storytel/storytel-tui/target/release/deps/libcursive-7ff0cc4937ce0fe4.rlib --extern mpv=/home/sivas/programs/git/storytel/storytel-tui/target/release/deps/libmpv-83e634866953da46.rlib --extern openssl=/home/sivas/programs/git/storytel/storytel-tui/target/release/deps/libopenssl-32c458b35eef09a4.rlib --extern reqwest=/home/sivas/programs/git/storytel/storytel-tui/target/release/deps/libreqwest-f6e875f3d6896b9e.rlib --extern serde=/home/sivas/programs/git/storytel/storytel-tui/target/release/deps/libserde-c01f1dd8554ff6c1.rlib --extern serde_json=/home/sivas/programs/git/storytel/storytel-tui/target/release/deps/libserde_json-39a35d0b2004e7b0.rlib (exit code: 1)

mpv player is installed and I can see libmpv.so.1 file under /usr/lib/x86_64-linux-gnu/ folder. Not sure if libmpv.so and libmpv.so.1 are same. Please let know if you can shed some light.

Thanks much.

from storytel-tui.

s3prakash avatar s3prakash commented on July 1, 2024

sivas@pop-os:/usr$ find . -name libmpv.so -print
sivas@pop-os:/usr$ find . -name libmpv.so.1 -print
./lib/x86_64-linux-gnu/libmpv.so.1
sivas@pop-os:/usr$ sudo apt install mpv
[sudo] password for sivas:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
mpv is already the newest version (0.32.0-2ubuntu2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
sivas@pop-os:/usr$

from storytel-tui.

javsanpar avatar javsanpar commented on July 1, 2024

It seems that in Debian/Ubuntu/POP-OS you need a specific package to get the dev files. Install libmpv-devand try again.

Let me know if it works for you!

from storytel-tui.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.