Closed BenjaminRowe closed 11 years ago
Hello,
What version of libspotify did you install from the spotify servers ?
Hey good question,
I installed this version: libspotify-12.1.103-Linux-armv6-bcm2708hardfp-release. Didn't think about that ill check to see if there is a newer arm 6 based release.
Many Thanks Ben
I'm based on the linux 32 and 64 bits versions. which are at 12.1.51. This seems like an incompatibility between the two version. A port has already been made for the raspberry pi here https://github.com/tonyd256/node-libspotify/commit/61211fd50512fe6d569327cb4b51cd4845796cf7 Maybe you can get what's troubling you there ?
On 19 November 2013 17:30, BenjaminRowe notifications@github.com wrote:
Hey good question,
I installed this version: libspotify-12.1.103-Linux-armv6-bcm2708hardfp-release. Didn't think about that ill check to see if there is a newer arm 6 based release.
Many Thanks Ben
— Reply to this email directly or view it on GitHubhttps://github.com/Floby/node-libspotify/issues/43#issuecomment-28804999 .
Awesome! That fixed my issue. Worth noting from a little digging around it is possible to compile 12.1.51 but only if the distribution is soft fp not hard fp like the distribution i'm using.
Many Thanks Ben
Hey Guys,
Not sure what the issue might be but i can't appear to build the npm on Arch (With raspberry pi hardware) Any Ideas? The build report is below:
Hey Guys,
Having an issue compiling on Arch any ideas?
make: Entering directory '/home/node/node_modules/libspotify/build' CXX(target) Release/obj.target/libspotify/src/album.o CXX(target) Release/obj.target/libspotify/src/artist.o CXX(target) Release/obj.target/libspotify/src/audio.o CXX(target) Release/obj.target/libspotify/src/binding.o CXX(target) Release/obj.target/libspotify/src/link.o In file included from ../src/link.cc:21:0: ../src/playlistcallbacks.cc:105:39: warning: 'nsp_playlistcontainercallbacks' defined but not used [-Wunused-variable] CXX(target) Release/obj.target/libspotify/src/player.o CXX(target) Release/obj.target/libspotify/src/search.o CXX(target) Release/obj.target/libspotify/src/session.o ../src/session.cc:290:1: error: invalid conversion from 'void ()(spsession, sperror)' to 'void ()(spsession)' [-fpermissive] ../src/session.cc:290:1: error: invalid conversion from 'void (_)(spsession, bool)' to 'void (_)(spsession, sp_error)' [-fpermissive] ../src/session.cc:290:1: warning: missing initializer for member 'sp_session_callbacks::private_session_mode_changed' [-Wmissing-field-initializers] In file included from ../src/session.cc:20:0: ../src/playlistcallbacks.cc:234:30: warning: 'nsp_playlist_callbacks' defined but not used [-Wunused-variable] libspotify.target.mk:90: recipe for target 'Release/obj.target/libspotify/src/session.o' failed make: *\ [Release/obj.target/libspotify/src/session.o] Error 1 make: Leaving directory '/home/node/node_modules/libspotify/build' gyp ERR! build error gyp ERR! stack Error:
make
failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23) gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17) gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:789:12) gyp ERR! System Linux 3.6.11-14-ARCH+ gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build" gyp ERR! cwd /home/node/node_modules/libspotify gyp ERR! node -v v0.10.22 gyp ERR! node-gyp -v v0.11.0 gyp ERR! not ok