This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Making NetCDF 4.2 legacy C++


Reinstalled NetCDF and HDF with setup.exe
Still have the same problem.

Using the legacy libraries is required for ESMF
(http://www.earthsystemmodeling.org/) :
"Note that currently ESMF does not work with the new C++ API introduced
in NetCDF 4.2, therefore, the Legacy C++ Library has to be used."


------------------------------------------
Brendan DeTracey 
brendan.detraceyb@dfo-mpo.gc.ca 
w:(902) 426-9727 
3-31 VS Bedford Institute of Oceanography 
Fisheries and Oceans 
Dartmouth,NS 
B2Y 4A2, Canada
 

> -----Original Message-----
> From: cygwin-owner@cygwin.com 
> [mailto:cygwin-owner@cygwin.com] On Behalf Of marco atzeri
> Sent: 2013-March-29 5:54 AM
> To: cygwin@cygwin.com
> Subject: Re: Making NetCDF 4.2 legacy C++
> 
> On 3/28/2013 7:36 PM, DeTracey, Brendan wrote:
> > Hi,
> >
> > I am trying to install the NetCDF 4.2 legacy C++ libraries, 
> which are 
> > not available via setup.exe.  Although I have installed everything 
> > HDF5 via setup.exe I get the following problem:
> 
> looks at libnetcdf-cxx4_1 and libnetcdf-cxx4-devel packages
> 
> version 4.2-1 is available
> 
> > $ make
> > make  all-recursive
> > make[1]: Entering directory `/home/detraceyb/netcdf-cxx-4.2'
> > Making all in cxx
> > make[2]: Entering directory `/home/detraceyb/netcdf-cxx-4.2/cxx'
> > /bin/sh ../libtool --tag=CXX    --mode=link g++   -g -O2 
> -version-number
> > 4:2:0  -o libnetcdf_c++.la -rpath /usr/local/lib 
> > libnetcdf_c___la-netcdf.lo  libnetcdf_c___la-ncvalues.lo  -lnetcdf
> > /usr/bin/grep: /usr/lib/libhdf5_hl.la: No such file or directory
> > /usr/bin/sed: can't read /usr/lib/libhdf5_hl.la: No such file or 
> > directory
> > libtool: link: `/usr/lib/libhdf5_hl.la' is not a valid 
> libtool archive
> 
> when I removed the *.la files from last hdf5 packages I 
> forgot to update netcdf4 and also remove them.
> 
> 
> 
> > Makefile:364: recipe for target `libnetcdf_c++.la' failed
> > make[2]: *** [libnetcdf_c++.la] Error 1
> > make[2]: Leaving directory `/home/detraceyb/netcdf-cxx-4.2/cxx'
> > Makefile:311: recipe for target `all-recursive' failed
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/home/detraceyb/netcdf-cxx-4.2'
> > Makefile:240: recipe for target `all' failed
> > make: *** [all] Error 2
> >
> > $ ls /usr/lib/libhdf*
> > /usr/lib/libhdf5.a         /usr/lib/libhdf5_cpp.a
> > /usr/lib/libhdf5_hl.dll.a*
> > /usr/lib/libhdf5.dll.a*    /usr/lib/libhdf5_cpp.dll.a*
> > /usr/lib/libhdf5_hl_cpp.a
> > /usr/lib/libhdf5.settings  /usr/lib/libhdf5_hl.a
> > /usr/lib/libhdf5_hl_cpp.dll.a*
> >
> > Thanks,
> > Brendan
> >
> 
> 
> 
> 
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> 
> 

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]