> >To: NETCDF support <address@hidden> > >From: "Michael J. Lucas" <"address@hidden"@erols.com> > >Subject: NCTEST JACKETS > >Organization: Wyle Laboratories > >Keywords: 199704212213.QAA13897 > > This is a multi-part message in MIME format. > > - --------------31DF28AA1F4E > Content-Type: text/plain; charset=us-ascii > Content-Transfer-Encoding: 7bit > > Glen - > > 1.) I have successfully compiled the NCTEST program. But when it > comes to linking the program complains about unresolved externals such > as _imp_ncvarid, _imp_ncclose,... > Is this a problem with the compiler not finding the NETCDF.DLL? > I put the netcdf.DLL under the windows/sys directory which is the > common directory for DLLs on a PC and inserted the file into the > project. Do I need to modify any of the header files to tell the > compiler that a DLL exists? All I can say is this is a link error of some sort. You will have to find someone else who knows more about your tools than I do to help with this. Perhaps you should just link statically by explictly including netcdf.lib as one of the objects to link. > 2.) The jackets program still has problems compiling so I have > attached a file that contains a list of the error messages. Any > suggestions? > > Thanks for your time. Mike. > > jackets.c > jackets.c(588) : error C2065: 'cdf_routine_name' : undeclared identifier > jackets.c(588) : warning C4047: '=' : 'int ' differs in levels of indirection from 'char [6]' > jackets.c(591) : warning C4047: 'function' : 'const char *' differs in levels of indirection from 'int ' > jackets.c(591) : warning C4024: 'nc_advise' : different types for formal and actual parameter 1 > jackets.c(591) : error C2001: newline in constant > jackets.c(592) : error C2146: syntax error : missing ')' before identifier 'include' > jackets.c(592) : error C2001: newline in constant > jackets.c(619) : warning C4047: '=' : 'int ' differs in levels of indirection from 'char [6]' > jackets.c(622) : warning C4047: 'function' : 'const char *' differs in levels of indirection from 'int ' > jackets.c(622) : warning C4024: 'nc_advise' : different types for formal and actual parameter 1 > jackets.c(622) : error C2001: newline in constant > jackets.c(623) : error C2146: syntax error : missing ')' before identifier 'include' > jackets.c(623) : error C2001: newline in constant > These line numbers don't line up with what I sent you in my last email. It appears that these messages come from the previous version of jackets.c we were using. -glenn