[Top][All Lists]

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

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

From: Mohammad Akhlaghi
Subject: Re: [Help-gsl] help in compiling and linking this file
Date: Fri, 05 Jan 2018 21:40:24 +0100
User-agent: K-9 Mail for Android

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.


On January 5, 2018 8:04:17 PM GMT+01:00, Vasu Jaganath <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
>I have attached the file, I am able to compile and run qags example
>Also, how to know what .so libraries to link for what header in gsl?

reply via email to

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