including files from GNU GSL

J

Jack Klein

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

None of this is topical here, the C standard does not define include
paths or compiler directives. I'd suggest you ask in one of the gnu
newsgroups.
 
M

Mark McIntyre

"Not portable. Can't discuss it here. Blah, blah, blah."

You see, *that*, despite being a negative answer, still had positive
effect because it was funny. :)

The only problem is, the quote you include is from Kenny McCormack,
who is a well known troll.
This whole discussion might have been considerably briefer, if instead
of posting me links to stern discussions of what is and isn't on-topic
for the list, someone had instead posted me a link to somewhere that
*might be able to help me*.

Sounds good. Perhaps we didn't because *we don't know*.
 
M

Mark McIntyre

I think I found what your problem is, and it has surely relevance
for this group.

It didn't - it was *entirely* to do with how some specific
implementation found its include files, which is interesting but
offtopic.
All this people telling

<off topic>

are just telling nonsense.
FCOL

Please do not generalize, not all people here are like that.

You take pride in insulting the regulars here. Thats probably one of
the reasons they dislike your posts.
 
M

Mark McIntyre

The problem is that you have the include directive
gsl/gsl_rng.h

This means that the file should be in the gsl SUBDIRECTORY

If this is the answer you referred to as being "on topic", I can only
say I'm astounded at your brass neck.
 
K

Kenny McCormack

"Not portable. Can't discuss it here. Blah, blah, blah."

You see, *that*, despite being a negative answer, still had positive
effect because it was funny. :)

Glad you appreciate it.
This whole discussion might have been considerably briefer, if instead
of posting me links to stern discussions of what is and isn't on-topic
for the list, someone had instead posted me a link to somewhere that
*might be able to help me*.

But you see, that is definitely *not* the clc way.
 
K

Kenny McCormack

The only problem is, the quote you include is from Kenny McCormack,
who is a well known troll.

And very intelligent poster.

Who has your number, down better than you'll ever know.
 
K

Kenny McCormack

How ironic...

Richard

Yeah, isn't it, then?

It's so clear, once you see it, how the so-called "trolls" are the smart
ones - who understand a lot more about a lot more things. And the
so-called "regulars" are such obvious twits.

Such is life, more often than not.
 
K

Kenny McCormack

Richard Bos wrote


LOL

<insert sound of rocket rushing overhead>

Yeah. Sad, isn't it?

Oh well. If he sticks around a little longer, he may figure it out yet.
 
K

Keith Thompson

___________________
/| /| | |
||__|| | Please do |
/ O O\__ NOT |
/ \ feed the |
/ \ \ trolls |
/ _ \ \ ______________|
/ |\____\ \ ||
/ | | | |\____/ ||
/ \|_|_|/ \ __||
/ / \ |____| ||
/ | | /| | --|
| | |// |____ --|
* _ | |_|_|_| | \-/
*-- _--\ _ \ // |
/ _ \\ _ // | /
* / \_ /- | - | |
* ___ c_c_c_C/ \C_c_c_c____________
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,985
Messages
2,570,199
Members
46,766
Latest member
rignpype

Latest Threads

Top