Hello,
I am trying to make QuantLib working with Ruby 1.9 via SWIG. I have QuantLib and SWIG installed and now trying to install QuantLib-SWIG 1.1. First I had problem with 'ftools' as it's depreciated in Ruby 1.9 - I used 'fileutils' instead but I get the following error while running 'ruby setup.rb build': Any hints on whether it's possible at all to make QuantLib talking with Ruby? Thanks, Cyprian ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
I've faced that also on Quantlib Swig-Ruby 1.1 when trying to use ruby 1.9 because of ftools being deprecated.
Did you managed to fix that ?
Arthur On Thu, Jul 28, 2011 at 8:12 AM, Cyprian Kowalczyk <[hidden email]> wrote:
------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
In reply to this post by Cyprian Kowalczyk-3
On Thu, Jul 28, 2011 at 2:12 PM, Cyprian Kowalczyk <[hidden email]> wrote:
> I am trying to make QuantLib working with Ruby 1.9 via SWIG. > I have QuantLib and SWIG installed and now trying to install QuantLib-SWIG > 1.1. > First I had problem with 'ftools' as it's depreciated in Ruby 1.9 - I used > 'fileutils' instead Is fileutils available in previous Ruby versions, too? (I'm asking because I'd like the build script to run on multiple versions...) > but I get the following error while running 'ruby > setup.rb build': > > /usr/local/Cellar/quantlib/1.1/include/ql/methods/finitedifferences/finitedifferencemodel.hpp:109: > warning: implicit conversion shortens 64-bit value into a 32-bit value > make: *** [quantlib_wrap.o] Error 1 This is just a warning. How did it stop the compilation? May you look at the command line and see if somehow there was a -Werror thrown in? Luigi ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
Free forum by Nabble | Edit this page |