NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: [netcdfgroup] Getting netcdf version

"C. Meissa" <carsten.meissa@xxxxxx> writes:

> Hello again,
>
> Am Dienstag, 12. Januar 2010 schrieb Ed Hartnett:
>> Yes, the new nc-config utility is in the soon-to-be-released version
>> 4.1.
>
> Well, yes. Lukily Version 4.1 provides pkg-config, too.
> Unfortunately some distributions still provide version 3, so this is not the 
> full solution… :-)
>
>> You can also call the nc_inq_libvers function
>
> Uh, this sounds nice. But requires my autotools to compile a test programm to 
> determine the version of netcdf and then decide whether to link to libhdf or 
> not… Quite inconvenient, isn’t it?
>
> Is there also a possibility to check, whether this is a full fortran-lib or 
> just a fortran-api-lib which requires me to link to the c_lib, too?
>
> Thx so much.
> C.M.
>

The new nc-config script also contains information about what was built.

Thanks,

Ed

-- 
Ed Hartnett  -- ed@xxxxxxxxxxxxxxxx



  • 2010 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: