Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

[netcdfgroup] Using NetCDF under Visual Studio 2008

I grabbed the pre-compiled win32 binaries of the daily snapshot (Sep
29, 2008). I tried using them in a project and it seems to run fine
until I try to use either nc_inq_dimids() or nc_inq_varids(). The I
get runtime errors suggesting a missing library.

My question is: did you successfully call these functions in test
programs under VS2008? They were absent (and not needed) in version
3.6.x, so maybe they did not make it to test programs yet?
Another question: do I need hdf5 and other third-party libs whenever
using NetCDF in my programs, or only when compiling NetCDF itself?

My client program in in a managed environment (.Net), calling the
NetCDF code via C++ Interop - maybe that is the source of problems.
However, I thought I'd check with you first, why these two functions
should be different from other (3.6.x - supported) function.

Thanks!

Maciej.


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690