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

Re: netcdf library for visual fortran5.0 on windows platform



try adding  /NODEFAULTLIB:LIBCMTD to your link command; let me know what
happens

----- Original Message -----
From: "Russ Rew" <address@hidden>
To: <address@hidden>
Sent: Monday, May 13, 2002 9:32 AM
Subject: Re: netcdf library for visual fortran5.0 on windows platform


> John,
>
> Can you please handle this one?  Thanks!
>
> --Russ
>
> >To: address@hidden
> >From: "J.G.Xiong" <address@hidden>
> >Subject: Re: 20020511: netcdf library for visual fortran5.0 on windows
platform
> >Organization: .
> >
> > Dear Russ Rew,
> >
> > I download prebuilt netcdf library and put in the library
> > directory. In order to test if it works, I wrote a fortran program
> > test.f like this:
> >
> >  INCLUDE 'netcdf.inc'
> >  PRINT *, NF_INQ_LIBVERS()
> >  stop
> >  end
> >
> > Then use: "df test.f netcdfs.lib" to compile and link, but there is an
> > error message:
> >
> >   LINK : warning LNK4098: defaultlib "LIBCMT" conflicts with use of
other libs; use /NODEFAULTLIB:library
> >
> > My platform is windows and I use only visual fortran5.0(not any C
> > compiler on my computer). I donot know how to build a new library. Are
> > there any suitable library for my computer?
>