【问题标题】:Windows - MINGW Build GSL for Ruby-GSLWindows - MINGW 为 Ruby-GSL 构建 GSL
【发布时间】:2011-06-28 01:15:13
【问题描述】:

您好,我在 Windows 7 上并想安装 GSL http://www.gnu.org/software/gsl/,以便我可以将它与 Ruby GSL http://rb-gsl.rubyforge.org/ 一起使用。

我已经安装了 MINGW 和 MSYS。我在这里找到了 1.13 版 GSL 的二进制安装程序http://ascend4.org/Binary_installer_for_GSL-1.13_on_MinGW,但由于最新版本是 1.15,于 2011 年 5 月 6 日发布,我认为构建它来安装它会很好,但我不知道。

谁能告诉我如何构建它以安装 Windows?

【问题讨论】:

  • “rglpk”示例是否适合您,或者您是否决定在 VirtualBox 上使用 Ubuntu?

标签: ruby windows build mingw gsl


【解决方案1】:

我修改了安装 GNU 线性编程工具包 (GLPK) 的步骤,该工具包也有 ruby​​ 包装器“rglpk”。 http://en.wikibooks.org/wiki/GLPK/Ruby

打开

运行 cd /C/temp/gsl-1.14 ./configure --enable-shared 制作 检查 进行安装 cp include/gsl-config /C/Ruby193/include/ruby-1.9.1 cp src/.libs/libgsl.a /C/Ruby193/lib 宝石安装 gsl

如果这不起作用,在 Virtual Box 上安装 Ubuntu 并在那里构建你的包可能更有意义。

https://www.virtualbox.org/ http://www.ubuntu.com/

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-10-27
    • 2020-04-13
    • 2017-12-22
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多