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.
>To: address@hidden >From: John Zbesko <address@hidden> >Subject: Use of NetCDF with Delphi/Kylix >Organization: UCAR/Unidata >Keywords: 200201041857.g04IvqN04599 Hi John, > I'm attempting to develop financial market > applications using NetCDF and Delphi/Kylix. I'm also a > beginning programmer, but experienced power user. > > I've searched your archives and did find a Delphi > (Win32) unit that implements the NetCDF functions. > Some of the functions do not seem to work right, > however. Also, when using Kylix (Delphi on Linux), I > get error messages saying that the netcdf library is > in some sort of wrong form. (I was expecting a library > with a suffix of .so instead of .a) Linking in the c++ > object files gave me a different error message about > not being able to handle NCerror. > > My questions: > > Are there any resources I may have missed for > implementing NetCDF with Object Pascal? I don't know of any other resources, but I've forwarded your question to John Caron, our local Delphi expert, who may be able to help. He will be in the first part of next week. > Is it possible to create a .so library in the Linux > environment? Yes, that's just the shared version of a library and the .a is the static version. The way to make shared libraries is different on every platform, so our standard distribution just makes the static libraries. Usually you just need to set the right compiler flag to create the shared library. If we used "libtool" with our configure system, we would get shared libraries as an automatic benefit, but we haven't moved to use of libtool yet. --Russ