-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
require 'libsvm' fails (MS windows) #10
Comments
I don't have access to a Windows machine, so I can't really help. Patches would be welcome. |
I'll look into it. I suppose the module does not compile properly for On 6 September 2012 21:52, Florian Ebeling [email protected] wrote:
|
I only have access to windows via a virtual machine. I'll see if I have On Thu, Sep 6, 2012 at 12:52 PM, Florian Ebeling
|
I installed the libsvm-ruby-swig (0.4.0) gem (both gems installed) and the error changed. C:\dev\Ruby193\lib\ruby\gems\1.9.1\gems\rb-libsvm-1.0.8\examples>ruby toy.rb toy.rb:4:in `': uninitialized constant Libsvm::Problem (NameError) C:\dev\Ruby193\lib\ruby\gems\1.9.1\gems\rb-libsvm-1.0.8\examples>ruby text.rb text.rb:30:in `block in ': uninitialized constant Libsvm::Node (NameError) from text.rb:28:in `each' from text.rb:28:in `' C:\dev\Ruby193\lib\ruby\gems\1.9.1\gems\rb-libsvm-1.0.8\examples>gem list |
Need MS windows version also |
when You install libsvm-ruby-swig, it loads libsvm.rb file, not extension. |
This package, rb-libsvm, doesn't support Windows, unfortunately (unless somebody supplies a patch). Please note that libsvm-ruby-swig and rb-libsvm packages are alternatives and not meant to be used together. |
Just saw that rake-compiler has support for cross-compiling now, and also provides a special https://github.com/rake-compiler/rake-compiler#cross-compilation---the-future-is-now |
I don't find the time to do this. So the new status pretty much is: PR welcome. |
@jeppevb - Not really an answer to your issue, but I'll share with you my experience. Using Ruby on Windows makes it more difficult than Mac or Ubuntu. I suggest installing Ubuntu in Windows. It is very simple and you do not need dual boot. |
@Kraviscloud What is gp? |
I've installed ruby, devkit and rubygems and sucessfully installed the rb-libsvm gem. When I try to run the examples or go require 'libsvm' in irb i get this:
The text was updated successfully, but these errors were encountered: