PINE64

Full Version: Spotify - work arround with librespot-java
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Good day everybody Smile

I tried to compile librespot for the rock64 unfortunately it throws me an error that it can't be compiled :


------------------
 = note: /tmp/cargo-installPJfUds/release/build/byteorder-e6b6a6b0fb32eb88/build_script_build-e6b6a6b0fb32eb88.build_script_build.d7wzi3u7-cgu.0.rcgu.o: file not recognized: File format not recognized
          collect2: error: ld returned 1 exit status
          

error: aborting due to previous error

error: could not compile `byteorder`.
warning: build failed, waiting for other jobs to finish...
error: failed to compile `librespot v0.1.0`, intermediate artifacts can be found at `/tmp/cargo-installPJfUds`
---------------


I haven't figured out would the problem might be (noob programmer, so to say). I also tried to install the raspberry binary which caused the system to overload - so that didn't work either.

Good news:
I found a project that ported the lib into java :

https://github.com/librespot-org/librespot-java
.... and it works (nearly) perfect. Just install java, set the option mixerSearchKeywords = "default" int the config.toml file .... that's it Smile

Enjoy

Helium