help-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-gsl] Programming


From: Arno Vredenborg
Subject: [Help-gsl] Programming
Date: Fri, 23 Jul 2004 11:23:45 +0200

Dear Mr./Mrs.

 

Because you have such an interesting site, I wanted to start using your
algorithms. But unfortunately I have a small problem with it. I just made
this, like the example on the internet:

 

#include <stdio.h>

#include <gsl/block/gsl_block_int.h>

 

int main(void)

{

            int i, j;

            gsl_block_int * v = gsl_block_int_alloc (3);

            return 0;

}

 

The only adjustment I made was correcting the folders where the header files
are, because they are in subfolders. Then I get from my compiler the
complaint:

 

Undefined reference to _ gsl_block_int_alloc

 

And I do not understand this. It accepts the gsl_block_int * v part of the
assignment, but not the second part, or any other operation out of the
header file. Can you point out the mistake to me? With best regards, 

Arno 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]