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

[netCDF #NMW-868540]: cmake configuration failure



Hello,

I'm glad you were able to get everything working; I'm not sure why the HDF5 
installed directory is overriding what cmake is trying to do; I will try to see 
if there's anything we can do about it in our cmake configuration.

Have a great day,

-Ward

> I found a work-around for this issue of HDF5 by looking at what is causing 
> the error: CMakeList.txt.    It turned out that HDF5 installed directory can 
> override whatever CMake is trying to do (a very fragile method).   Here is my 
> work around:
> 
> Add the following at the top of CMakeList.txt (for 64 bit build of HDF5 
> 1.8.18).
> 
> # tosa mods (these 6 lines are needed.  Comments in CMakeList.txt is wrong.)
> ################################################################
> set(HDF5_C_LIBRARY "C:/Program Files/HDF_Group/HDF5/1.8.18/lib/libhdf5.lib")
> set(HDF5_HL_LIBRARY "C:/Program 
> Files/HDF_Group/HDF5/1.8.18/lib/libhdf5_hl.lib")
> set(HDF5_INCLUDE_DIR "C:/Program Files/HDF_Group/HDF5/1.8.18/include")
> set(ZLIB_LIBRARY "C:/Program Files/HDF_Group/HDF5/1.8.18/lib/libzlib.lib")
> set(SZIP_LIBRARY "C:/Program Files/HDF_Group/HDF5/1.8.18/lib/libszip.lib")
> set(ZLIB_INCLUDE_DIR "C:/Program Files/HDF_Group/HDF5/1.8.18/include")
> 
> With this mods to CMakeList.txt, I was able to build NetCDF4.4.1.
> 
> Tosa
> 
> -----Original Message-----
> From: Unidata netCDF Support [mailto:address@hidden]
> Sent: Sunday, January 29, 2017 10:54 AM
> To: Tosa, Yasunari CTR (VOLPE) <address@hidden>
> Subject: [netCDF #NMW-868540]: cmake configuration failure
> 
> 
> address@hidden,
> 
> Your Ticket has been received, and a Unidata staff member will review it and 
> reply accordingly. Listed below are details of this new Ticket. Please make 
> sure the Ticket ID remains in the Subject: line on all correspondence related 
> to this Ticket.
> 
> NOTE: All email exchanges with Unidata User Support are recorded in the 
> Unidata inquiry tracking system and then made publicly available through the 
> web.  If you do not want to have your interactions made available in this 
> way, you must let us know in each email you send to us.
> 
> Ticket ID: NMW-868540
> Subject: cmake configuration failure
> Department: Support netCDF
> Priority: Normal
> Status: Open
> 
> 
> 
> The NetCDF libraries are developed at the Unidata Program Center, in Boulder, 
> Colorado, funded primarily by the National Science Foundation.
> 
> All support requests are handled by the development team. No dedicated 
> support staff are funded at this time. For this reason we cannot guarantee 
> response times, nor that we can resolve every support issue, although we do 
> our best to respond within 72 hours.
> 
> It is in the nature of support requests that the same question is asked many 
> times. We urge you to search the support archives for material relating to 
> your support request:
> 
> http://www.unidata.ucar.edu/search.jsp?support&netcdf
> 
> If you are having trouble building netCDF, please take a look at the 
> "Building NetCDF" page:
> 
> http://www.unidata.ucar.edu/software/netcdf/docs/building.html
> 
> or the (unfortunately somewhat out-of-date) NetCDF Build Troubleshooter page:
> 
> http://www.unidata.ucar.edu/software/netcdf/docs/troubleshoot.html
> 
> Windows users should see the FAQ list:
> 
> http://www.unidata.ucar.edu/software/netcdf/docs/faq.html#windows_netcdf4_2
> 
> Complete documentation (including a tutorial, and sample programs in C, 
> Fortran, Java, and other programming languages) can be found on the netCDF 
> Documentation page:
> 
> http://www.unidata.ucar.edu/software/netcdf/docs/
> http://www.unidata.ucar.edu/software/netcdf/examples/programs/
> 
> If you resolve your issue through one of these methods, please send a reply 
> to this email, letting us know that you no longer need support. This will 
> help us spend more time on netCDF development.
> 
> Best regards,
> 
> Unidata User Support
> 
> 


Ticket Details
===================
Ticket ID: NMW-868540
Department: Support netCDF
Priority: Normal
Status: Closed
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.