help-gsl
[Top][All Lists]
Advanced

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

Re: [Help-gsl] help in compiling and linking this file


From: Vasu Jaganath
Subject: Re: [Help-gsl] help in compiling and linking this file
Date: Fri, 05 Jan 2018 22:17:57 +0000

Thanks Patrick,

I will try to do that

On Fri, Jan 5, 2018, 2:40 PM Patrick Alken <address@hidden> wrote:

> Sorry, the 2.1 docs are texinfo based, so do:
>
> cd doc ; make dvi
>
> assuming you have texinfo installed
>
> On 01/05/2018 02:38 PM, Patrick Alken wrote:
> > I don't keep them stored online, you can compile them yourself in the
> > doc/ directory if you have Sphinx installed (try cd doc; make html)
> >
> > Alternatively the old texinfo based docs are still up here from v2.3:
> >
> > https://www.gnu.org/software/gsl/manual/gsl-ref.html
> >
> > These are v2.3 but I don't think the integration routines changed
> > between 2.1 and 2.3
> >
> > On 01/05/2018 02:33 PM, Vasu Jaganath wrote:
> >> Thanks Patrick, where can i read docs for 2.1? Because I think it is
> >> difficult for me to migrate to 2.4 as yet.
> >>
> >>
> >>
> >> On Fri, Jan 5, 2018 at 2:27 PM, Patrick Alken <address@hidden
> >> <mailto:address@hidden>> wrote:
> >>
> >>     That workspace was added in GSL 2.4, so make sure you are using the
> >>     latest version of the library
> >>
> >>     On 01/05/2018 01:40 PM, Mohammad Akhlaghi wrote:
> >>     > Hi Vasu,
> >>     >
> >>     > The "unknown type name" is not a linker error, its a compiler
> >>     error (which comes prior to linking).
> >>     >
> >>     > The `gsl_integration_fixed_workspace' type is indeed defined in
> >>     `gsl_integration.h'. So it is very strange that your compiler
> >>     doesn't recognize it (after the inclusion of this header)!
> >>     >
> >>     > Try having a look in the used header file and see if this type
> >>     is indeed defined there.
> >>     >
> >>     > Cheers,
> >>     > Mohammad
> >>     >
> >>     > On January 5, 2018 8:04:17 PM GMT+01:00, Vasu Jaganath
> >>     <address@hidden <mailto:address@hidden>>
> wrote:
> >>     >> Hi Forum,
> >>     >>
> >>     >> I don't know what libraries to link to compiler this file
> >>     >>
> >>     >> I am doing
> >>     >>
> >>     >> gcc -Wall quadFixed.c -lgsl -lgslcblas -lm
> >>     >>
> >>     >> however it complains
> >>     >>
> >>     >> error: unknown type name ‘gsl_integration_fixed_workspace’
> >>     >>   gsl_integration_fixed_workspace * w;
> >>     >>
> >>     >> took this example directly from
> >>     >> https://www.gnu.org/software/gsl/doc/html/integration.html
> >>     <https://www.gnu.org/software/gsl/doc/html/integration.html>
> >>     >>
> >>     >> I have attached the file, I am able to compile and run qags
> example
> >>     >> just
> >>     >> fine.
> >>     >>
> >>     >> Also, how to know what .so libraries to link for what header in
> >>     gsl?
> >>     >>
> >>     >> Thanks,
> >>     >> Vasu
> >>
> >>
> >>
> >>
>
>


reply via email to

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