[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: Patrick Alken
Subject: Re: [Help-gsl] help in compiling and linking this file
Date: Fri, 5 Jan 2018 14:27:35 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0

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> 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
>> 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]