[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 20030606: problem:netcdf_and_Windows_NT



Francesca Vargiu wrote:

Unidata Support wrote:

------- Forwarded Message



To: =?iso-8859-1?Q?support?= <address@hidden>
From: =?iso-8859-1?Q?Francesca_Vargiu?= <address@hidden>
Subject: =?iso-8859-1?Q?problem:netcdf_and_Windows_NT?=
Organization: UCAR/Unidata
Keywords: 200306061307.h56D7lLd018336
Hi, I have a lot of problem using netCDF in a Windows NT System (unlockly, I had to use...).
I have downloaded source distribution and the file marks.zip. I have used the 
file WIN32_INSTALL  like guide, making all it said.
But when (I'm in In src\libsrc) I tape "nmake /f msoft.mak" to make netcdf.lib 
and netcdf.dll, nmake answers a lot of file: attr.m4, attr.c, ncx.h, netcdf.h!!!
If I place this file in the same directory, the error is "nc.h(14): fatal error C1034: stddef.h: no include path set."
I'm using Microsoft Visual C++ 6.0 (with Borland 6.0 it's worst....).
I hope that someone could help me.
Bye
francescathe right directory





------- End of Forwarded Message


Hi francesca: why dont you use the already built binaries for Windows? look at

http://www.unidata.ucar.edu/packages/netcdf/faq.html#win



Hi Caron,
I've tryed to use these libraries, but I've always a linker error:
"Unresolved external symbol referenced from module", for since "Unresolved external 
symbol referenced from _nc_create".
I think that I've placed libraries and netcdf.h in the right directory, but if 
it doesn't work....I really don't understand!!!
Thank  you for your help, if you understand where I do wrong please tell me it!
Bye Francesca

it may be easier to use the static library: try linking with netcdfs.lib instead of netcdf.lib