问题描述
大家好,
我正在编写一些将使用GNU
科学图书馆(GSL)模块的程序。
GSL模块中包含的命令包含如下命令:
#include< gsl / gsl_rng.h>
(例如)。然而这些头文件实际上并不在gsl
目录中。
结果是当我尝试编译程序时,即使是一个程序
GSL,它找不到必要的标题。
我*是*使用编译器选项gcc -I(目录)其中(目录)是
dir。包含gsl / dir。
我在这里做错了什么?即使是在
中给出的简单示例程序,GSL手册也不会编译。
(我不想通过编译到对象形式整个GSL;我
只是想为一个程序编译一个或两个模块我是
写作。)
Hello all,
I''m writing some programs that will be using modules from the GNU
Scientific Library (GSL).
Include commands within the GSL modules have commands such as,
#include <gsl/gsl_rng.h>
(for example). Yet these header files aren''t actually in the gsl
directory.
The result is that when I try to compile a program, even one from the
GSL, it can''t find the necessary headers.
I *am* using compiler option gcc -I (directory) where (directory) is
the dir. containing the gsl/ dir.
What am I doing wrong here? Even the simple Example Program given in
the GSL manual won''t compile.
(I don''t want to go through compiling to object form the whole GSL; I
just want to be able to compile one or two modules for a program I''m
writing.)
推荐答案
你发布的是错误的新闻组。
-
pete
You are posting to the wrong newsgroup.
http://www.ungerhu.com/jxh/clc.welcome.txt
--
pete
这篇关于包括来自GNU GSL的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!