Re: [netcdfgroup] NetCDF 4.3.3-rc1 available.

Hi,

  I'm trying to compile the new release candidate with CMake and
Visual Stuido 2012 Expres on Windows 7 with HDF4 support

  For example, I built it with -DENABLE_HDF4=ON.

mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_DAP=OFF -DENABLE_NETCDF_4=ON
-DENABLE_HDF4=ON -DCMAKE_PREFIX_PATH=%LIBRARY_PREFIX%
-DCMAKE_INSTALL_PREFIX:PATH=%LIBRARY_PREFIX%  ..
cmake --build .

  Then, I get the following errors:

  ..\..\libsrc4\nc4type.c(29): error C2059: syntax error : 'constant'
[C:\Users\hyoklee\Downloads\netcdf-c-4.3.3-rc1\netcdf-c-4.3.3-rc1\build\libsrc4\netcdf4.vcxproj]
  ..\..\libsrc4\nc4type.c(65): error C2101: '&' on constant
[C:\Users\hyoklee\Downloads\netcdf-c-4.3.3-rc1\netcdf-c-4.3.3-rc1\build\libsrc4\netcdf4.vcxproj]
  ..\..\libsrc4\nc4type.c(67): error C2223: left of '->nc4_info' must
point to struct/union
[C:\Users\hyoklee\Downloads\netcdf-c-4.3.3-rc1\netcdf-c-4.3.3-rc1\build\libsrc4\netcdf4.vcxproj]


  If I specify -DENABLE_HDF4=OFF, everything builds successfully. I
think someone reported the same issue [1] on the earlier version but I
am not sure if this is resolved. If you know how to make HDF4 work on
Windows, would you please provide the Windows binary with everything
included: HDF4, HDF5, DAP, not just HDF5 and DAP in [2]? I'd like to
see an HDF4 instruction on [3] as well.

 Thanks,


[1] 
http://www.unidata.ucar.edu/mailing_lists/archives/netcdfgroup/2013/msg00483.html
[2] http://www.unidata.ucar.edu/software/netcdf/docs/winbin.html
[3] 
http://www.unidata.ucar.edu/software/netcdf/docs/getting_and_building_netcdf.html#netCDF-CMake


--
Save the Earth. Save Earth data in HDF-EOS. Save Big data in HDF.


On Tue, Aug 26, 2014 at 11:06 AM, Ward Fisher <wfisher@xxxxxxxx> wrote:
> Hello all,
>
> We have released the first release candidate (rc1) for the upcoming netcdf-c
> 4.3.3 release. This will largely be a bug-fix and maintenance release.
> Information may be found at the following links:
>
> Release notes and source download:
> https://github.com/Unidata/netcdf-c/releases/tag/v4.3.3-rc1
> User documentation: http://www.unidata.ucar.edu/software/netcdf/docs_rc/
> Visual Studio binaries:
> http://www.unidata.ucar.edu/software/netcdf/docs/winbin.html
>
> I look forward to addressing any issues found or, hopefully, making the full
> release within the next few weeks.
>
> Thanks all, have a great day.
>
> -Ward
>
> Ward Fisher
> UCAR/Unidata - Software Engineer
> wfisher@xxxxxxxxxxxxxxxx
>
>
> _______________________________________________
> netcdfgroup mailing list
> netcdfgroup@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe,  visit:
> http://www.unidata.ucar.edu/mailing_lists/



  • 2014 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: