问题描述
我试图在Windows XP上安装Gnu Scientific Library(GSL),但这对我来说非常困难。我找到了这个网站
我从其下载了完整包,除了源并安装。但是这只是6.2MB大,我发现是非常小。它是否正确?我很乐意为此获得一些帮助。
我不明白为什么这么难。
我也是初学者,但我只是设法使它在Windows 8的codeblock 12.11。
-
从您提及的文件安装gsl。创建您的项目后,更好地使用无空格的文件路径(不确定是否相关,只是读取此安装其他库的安装)
-
/ p>
-
点击项目名称
li>
-
在打开的窗口的右侧部分,选择项目的名称(树的根)
- p>选择链接器设置标签
-
点击添加
- 您的gsl安装并选择libgsl.a
-
与libgslcblas.a相同
选择搜索目录标签 -
点击添加并选择gsl安装的include目录。
从这一点来说,事情对我来说是正常的。
祝你好运。
I am trying to install Gnu Scientific Library (GSL) on Windows XP, but this is very difficult for me. I found this site
http://gnuwin32.sourceforge.net/packages/gsl.htm
from which I downloaded "Complete package, except sources" and installed. But this is only 6.2MB large, which I find to be very small. Is this correct? I would be happy to get some help with this.
I don't understand why this has to be so difficult.
I am beginner as well, but I just managed to have it work on windows 8 with codeblock 12.11.
installing gsl from the file you mention. Better to use a filepath without spaces (not sure if relevant here, just read this advices for installing other libraries)
in codeblocks, after creating your project:
right click on project name
click on build options
on the right part of the windows that opens, select the name of the project (root of the tree)
select the linker settings tab
click add
browse to the lib directory of your gsl installation and select libgsl.a
same for libgslcblas.a
select the search directories tab
click add and select the include directory of your gsl installation.
From this point things worked ok for me.
good luck.
这篇关于在Windows XP 32位上安装GSL以与代码块一起使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!