Giter VIP home page Giter VIP logo

Comments (11)

febeling avatar febeling commented on May 18, 2024

I don't have access to a Windows machine, so I can't really help. Patches would be welcome.

from rb-libsvm.

jeppevb avatar jeppevb commented on May 18, 2024

I'll look into it. I suppose the module does not compile properly for
windows.

On 6 September 2012 21:52, Florian Ebeling [email protected] wrote:

I don't have access to a Windows machine, so I can't really help. Patches
would be welcome.


Reply to this email directly or view it on GitHubhttps://github.com//issues/10#issuecomment-8345049.

from rb-libsvm.

neovintage avatar neovintage commented on May 18, 2024

I only have access to windows via a virtual machine. I'll see if I have
everything I need to try to do it.

On Thu, Sep 6, 2012 at 12:52 PM, Florian Ebeling
[email protected]:

I don't have access to a Windows machine, so I can't really help. Patches
would be welcome.


Reply to this email directly or view it on GitHubhttps://github.com//issues/10#issuecomment-8345049.

from rb-libsvm.

jeppevb avatar jeppevb commented on May 18, 2024

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

from rb-libsvm.

ksaveras avatar ksaveras commented on May 18, 2024

Need MS windows version also

from rb-libsvm.

ksaveras avatar ksaveras commented on May 18, 2024

when You install libsvm-ruby-swig, it loads libsvm.rb file, not extension.
When You have rb-libsvm only - it tries to load libsvm_ext.so but fails on windows

from rb-libsvm.

febeling avatar febeling commented on May 18, 2024

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.

from rb-libsvm.

febeling avatar febeling commented on May 18, 2024

Just saw that rake-compiler has support for cross-compiling now, and also provides a special rake-compiler-dev-box VM for this. Might make implementing this thing easier.

https://github.com/rake-compiler/rake-compiler#cross-compilation---the-future-is-now

from rb-libsvm.

febeling avatar febeling commented on May 18, 2024

I don't find the time to do this. So the new status pretty much is: PR welcome.

from rb-libsvm.

georgeu2000 avatar georgeu2000 commented on May 18, 2024

@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.

from rb-libsvm.

febeling avatar febeling commented on May 18, 2024

@Kraviscloud What is gp?

from rb-libsvm.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.