This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Hi Ken: > I have perused your netCDF site in hopes of an answer. I am trying to build > an application that uses the netCDF 3.4 libraries. > The environment is: NT 4 SP3 using Microsoft Visual C++ V6. I found the > prebuilt libraries/dlls built with MS VC++ V5. I also found the nmake files > for V5. Do you know if the V6 version is supported?? Can I just use the V5 > nmake files with V6?? ----------------------------------- 1) you might want to use netcdf 3.5 instead. Its almost our standard version: ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-3.5-beta3.ZIP 2) I suspect you need to recompile for VC6, but I'm not positive. The premade binaries are at ftp://ftp.unidata.ucar.edu/pub/netcdf/contrib/win32/netcdf-3.5.win32bin.ZIP. and you might want to give them a try first. 3) I'm appending a message from someone who successfully compiled under VC6 without changing the 3.5 make file. Get the 3.5 make files from ftp://ftp.unidata.ucar.edu/pub/netcdf/contrib/win32/netcdf-3.5.win32make.ZIP Regards, John -----Original Message----- From: Richard McDonald [mailto:address@hidden] Sent: Tuesday, October 26, 1999 7:21 AM To: John Caron Subject: RE: 19991022: netCDF in microsoft visual studio (Macros) Thanks for the reply, Ive got netcdf v3.5 working on VC++ v 6.0 (Under Windows 98) in an MFC application just fine(so far...). I did no modifications to the msoft.mak and when running the test in /nc_test i got no failures...My problem, Im embarrassed to say, was that i was not linking to the library in the project settings link tab. Also FYI, I was able to compile and run successfully an example program given in your support database - Subject: Re: 19990924: nc_inc_var of netcdf....