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

[netCDF #WTO-478645]: NetCDF Windows c++

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.


  • Subject: [netCDF #WTO-478645]: NetCDF Windows c++
  • Date: Fri, 22 Jun 2012 16:51:29 -0600

Good afternoon Brian,

First, thank you for the reminder about onstack.h; your fix is correct, and the 
same way I had fixed it in my test environment. I will have to update this in 
the code repository.

Regarding the warnings you receive regarding 'real files' for libraries: I 
encountered this as well, and it is caused by libtool. Libtool expects dll's to 
have the 'lib' prefix in their filename.  The solution is fairly 
straight-forward; copy hdf5_hldll.dll to libhdf5_hldll.dll, hdf5 to 
libhdf5.dll, etc.  This will correct the warnings, as well as the 'undefined 
reference' errors you are receiving.  You will only need to do this for the 
libraries you receive warnings for, and thankfully not for the entire 
dependency tree.  

Hopefully this will help get you past this problem; have a great weekend, let 
me know if you have any further questions.

-Ward

Ticket Details
===================
Ticket ID: WTO-478645
Department: Support netCDF
Priority: Normal
Status: Open