------- Forwarded Message
To: address@hidden
From: address@hidden
Subject: failure to link to netcdfs.lib objects
Organization: ESA-ESTEC
Keywords: 200402191023.i1JANbrV013500 netCDF Windows link
This is a multipart message in MIME format.
--=_alternative 00391497C1256E3F_=
Content-Type: text/plain; charset="us-ascii"
Hello,
I am presently trying to compile a FORTRAN interface to NetCDF by using
the binaries provided for Win32 (my OS is actually Windows XP) :
Thanks in advance for your support
R.C. Molina
Aerodynamics and Aerothermodynamics Unit MSM-MXA
ESA-ESTEC
--=_alternative 00391497C1256E3F_=
Content-Type: text/html; charset="us-ascii"
<br><font size=2 face="sans-serif">Hello,</font>
<br>
<br><font size=2 face="sans-serif"> I am presently trying to compile a FORTRAN
interface to NetCDF by using the binaries provided for Win32 (my OS is actually Windows XP) :</font>
<br>
<br><font size=2 face="sans-serif">*netcdfs.lib (which I have put under a folder lib,
directly in my directory)</font>
<br><font size=2 face="sans-serif">*ncgen.exe and ncdumps.exe (which I have put on my
PATH)</font>
<br><font size=2 face="sans-serif">*netcdf.inc (in an include folder in my
directory)</font>
<br>
<br><font size=2 face="sans-serif">I use g77 and Cygwin, and the lib and include
folders are in my directory, so I issue the command :</font>
<br>
<br><font size=2 face="sans-serif"><b>g77 atmemcd.f -Iinclude -Llib -lnetcdfs
-o atmemcd</b></font>
<br>
<br><font size=2 face="sans-serif">The "include"" part goes just
fine.</font>
<br>
<br><font size=2 face="sans-serif">The next thing I get is a screen dump of "undefined
reference to..." and then all the netcdf objects I actually need for binding.</font>
<br>
<br><font size=2 face="sans-serif">Is there any incompatibility between the bianries
provided and Windows XP, or am I just doing something very wrong with my compile command ?</font>
<br>
<br><font size=2 face="sans-serif">Thanks in advance for your support</font>
<br>
<br>
<br><font size=2 face="sans-serif"> R.C. Molina</font>
<br>
<br>
<br><font size=2 face="sans-serif">Aerodynamics and Aerothermodynamics Unit
MSM-MXA</font>
<br>
<br><font size=2 face="sans-serif">ESA-ESTEC </font>
<br>
--=_alternative 00391497C1256E3F_=--
--
NOTE: All email exchanges with Unidata User Support are recorded in the
Unidata inquiry tracking system and then made publically available
through the web. If you do not want to have your interactions made
available in this way, you must let us know in each email you send to us.
------- End of Forwarded Message