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.
Ken Walker wrote: > > John- > Thanks for the very quick response. I appreciate the suggestion about > netcdf 3.5. HOWEVER, I maintain this software on 4 Unix platforms, and > would like to keep the configuration as consistent as possible. So, I > want to avoid changing the netcdf version between Unix & NT. > > Looks like you found a message I missed in my search. I successfully > used the make files from the FTP site to build the netcdfs.lib so you used the msoft.mak file from netcdf-3.5.win32make.ZIP to compile netcd3.4 under VC6? > > HOWEVER, I have one question. I need "multi-thread" libraries, > and am getting conflicts when linking with my other objects. > I suspect the problem is coming from netcdf (but can't be sure > since I am linking objs/libs from 4 different sources!!!!) Do you have multiple simultaneous netcdf writers or multiple readers? > > Quite frankly I am no expert reading MS VC++ nmake files. > Do you have any idea if this nmake creates a multi-thread library? > Any insights are appreciated. What do you mean by "multi-thread" libraries? I'm not an expert either. > > -Ken Walker > > At 03:30 PM 9/14/2000 -0600, you wrote: > >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.... > > > > Ken Walker, P.E. mailto:address@hidden > MSC.Software Corp phone: 817.424.5590 x-53 > 1000 Main Street, #190 -OR- 800.328.4672 > Grapevine, TX 76051 fax: 817.251.8094 > ----------------------------------------------------------------- > "Quality is not an act, its a habit." - Aristotle > Visit MSC's Web Sites: > http://www.mscsoftware.com -and- http://www.engineering-e.com > ----------------------------------------------------------------- > >