Spotify - work arround with librespot-java - Printable Version

+- PINE64 (
+-- Forum: ROCKPRO64 (
+--- Forum: General Discussion on ROCKPRO64 (
+--- Thread: Spotify - work arround with librespot-java (/showthread.php?tid=8523)

Spotify - work arround with librespot-java - Helium75 - 12-08-2019

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 :
.... and it works (nearly) perfect. Just install java, set the option mixerSearchKeywords = "default" int the config.toml file .... that's it Smile