Closed Phrogz closed 13 years ago
Using manual ruby extconf.rb --with-sndfilelib=libsndfile-1
got me a hair closer, after copying the lib and header files all over creation. In the end I got a make file that build all the .o files, but failed at the linker stage.
I just put up a new version of ruby-audio, version 1.4.0, that should work perfectly. Make sure you install libsndfile 32-bit, or compile ruby from scratch so that it's 64-bit. Make sure that you add the install path for libsndfile to your PATH variable, or you will get "missing libsndfile-1.dll" errors when you require 'ruby-audio'. On 32-bit XP I can just run gem install ruby-audio
and it installs perfectly, but you may need to use gem install ruby-audio -- --with-sndfile-lib="C:/LIB_SNDFILE_INSTALL_DIR" --with-sndfile-include="C:/LIB_SNDFILE_INSTALL_DIR/include"
.
Win7x64; Ruby 1.9.1; RubyGems v1.3.7 Installed http://www.mega-nerd.com/libsndfile/files/libsndfile-1.0.23-w64-setup.exe Tried to install ruby-audio, failed: