Marco & Csaba --
I installed libnetcdf-devel, and linked against libnetcdf.dll.a (in
/usr/lib), and it linked correctly!
Thank you both.
-John
On Tue, Nov 25, 2014 at 1:06 AM, Csaba Raduly wrote:
> Hi John,
>
> On Mon, Nov 24, 2014 at 10:28 PM, John Kim wrote:
>> Hi,
>>
>> I have a C progr
Hi John,
On Mon, Nov 24, 2014 at 10:28 PM, John Kim wrote:
> Hi,
>
> I have a C program that uses a custom Fortran library and the netCDF
> API. I'm trying to link the C and Fortran object files with the Cygwin
> netCDF 4.3.1.1. library, like this:
>
>gfortran *.o libfortran.a -L"/cygdrive/c/
On 11/25/2014 1:01 AM, John Kim wrote:
Questions:
1) C API or Fortran API for NetCDF ?
C API.
2) Have you installed libnetcdf-devel package and
libnetcdf-fortran-devel ?
No. Should I?
for #1, at list libnetcdf-devel is needed
3) why -L"/cygdrive/c/Program Files (x86)/netCDF
> Questions:
> 1) C API or Fortran API for NetCDF ?
C API.
> 2) Have you installed libnetcdf-devel package and
> libnetcdf-fortran-devel ?
No. Should I?
> 3) why -L"/cygdrive/c/Program Files (x86)/netCDF 4.3.1.1/lib" ?
> The latest cygwin libnetcdf-devel package is 4.3.2-2
Will in
On 11/24/2014 10:28 PM, John Kim wrote:
Hi,
I have a C program that uses a custom Fortran library and the netCDF
API. I'm trying to link the C and Fortran object files with the Cygwin
netCDF 4.3.1.1. library, like this:
gfortran *.o libfortran.a -L"/cygdrive/c/Program Files (x86)/netCDF
4.3
Hi,
I have a C program that uses a custom Fortran library and the netCDF
API. I'm trying to link the C and Fortran object files with the Cygwin
netCDF 4.3.1.1. library, like this:
gfortran *.o libfortran.a -L"/cygdrive/c/Program Files (x86)/netCDF
4.3.1.1/lib" -lnetcdf
But it says "undefined
6 matches
Mail list logo