NetCDF  4.3.2
windows-binaries.md
00001 Installing and Using netCDF-C Libraries in Windows {#winbin}
00002 ==================================================
00003 
00004 \brief NetCDF-C Libraries in a Windows Environment may be used under multiple sets of circumstances.
00005 
00006 \tableofcontents
00007 
00008 There are several development environments available for programmers who develop on Windows. 
00009 
00010 * `Microsoft Visual Studio `
00011 * `MSYS/MinGW`
00012 * `Cygwin`
00013 
00014 For developers using `Microsoft Visual Studio`, you may download using the Windows build instructions, or you may download the pre-built netCDF-C libraries from this page.
00015 
00016 For developers using `MSYS/MinGW` or `Cygwin`, you may build netCDF-C using the Linux/Unix build instructions.  
00017 
00018 > For complex builds that include netCDF-4 and/or DAP support this may prove tricky, as it is time consuming to collect all of the dependencies.  In these cases it may be easier to use the pre-built `netcdf` packages provided by the `MSYS` and `Cygwin` environments.
00019 
00020 Users who prefer to build the netCDF-C libraries from source in a Windows environment using Microsoft Visual Studio are referred to \ref netCDF-CMake
00021 
00022 # Getting pre-built netCDF-C Libraries for Visual Studio
00023 
00024 These libraries can be used with Visual Studio 2010 projects.  The downloads are installer packages which contain the netCDF-C libraries and utilities (ncgen, ncgen3, ncdump and nccopy), as well as the associated dependencies.  
00025 
00026 ## Latest Stable Release (netCDF-C 4.3.2)
00027 
00028 Configuration           | 32-bit                                                | 64-bit |
00029 :-------------------|:--------                                                  |:-------|
00030 netCDF 3                | [netCDF4.3.2-NC3-32.exe][r1]          | [netCDF4.3.2-NC3-64.exe][r5] 
00031 netCDF3+DAP             | [netCDF4.3.2-NC3-DAP-32.exe][r2]      | [netCDF4.3.2-NC3-DAP-64.exe][r6]
00032 netCDF4                 | [netCDF4.3.2-NC4-32.exe][r3]          | [netCDF4.3.2-NC4-64.exe][r7]
00033 netCDF4+DAP             | [netCDF4.3.2-NC4-DAP-32.exe][r4]      | [netCDF4.3.2-NC4-DAP-64.exe][r8]
00034 
00035 
00036 
00037 ## Latest Release Candidate (netCDF-C 4.3.2-rc2)
00038 
00039 *Note: The latest release candidate may actually* **pre-date** *the latest stable release.  If you are interested in using the latest developer snapshot on Windows, it  may be downloaded from http://github.com/Unidata/netcdf-c but be warned,* **you will need to compile it yourself!**
00040 
00041 Configuration           | 32-bit                                                | 64-bit |
00042 :-------------------|:--------                                                  |:-------|
00043 netCDF 3                | [netCDF4.3.2-rc2-NC3-32.exe][rc1]             | [netCDF4.3.2-rc2-NC3-64.exe][rc6] 
00044 netCDF3+DAP             | [netCDF4.3.2-rc2-NC3-DAP-32.exe][rc2] | [netCDF4.3.2-rc2-NC3-DAP-64.exe][rc6]
00045 netCDF4                 | [netCDF4.3.2-rc2-NC4-32.exe][rc3]             | [netCDF4.3.2-rc2-NC4-64.exe][rc7]
00046 netCDF4+DAP             | [netCDF4.3.2-rc2-NC4-DAP-32.exe][rc4] | [netCDF4.3.2-rc2-NC4-DAP-64.exe][rc8]
00047 
00048 # Using the netCDF-C Libraries with Visual Studio
00049 In order to use the netcdf libraries, you must ensure that the .dll files (along with any dependencies from deps/shared/bin) are on the system path. In order to compile a program using these libraries, you must first link your program against the appropriate 'import' (.lib) libraries.  
00050 
00051 ## Install Hierarchy
00052 
00053 When installed, the netCDF libraries are placed in the specified locations, along with the netCDF-C utilities and dependencies.
00054 
00055 <center>
00056 <IMG SRC="InstallTreeWindows.png" width="1000"/>
00057 </center>
00058 
00059 # Notes
00060 
00061 *The following points should be considered when using the netCDF-C libraries on Windows.*
00062 
00063 1. When building the netCDF-C libraries with netCDF4 support, using the 'debug' libraries may cause extraneous warnings. These warnings are related to cross-dll memory management, and appear to be harmless. You can safely ignore them by using the 'release' libraries. [NCF-220]
00064 
00065 
00066 [r1]: http://www.unidata.ucar.edu/netcdf/win_netcdf/netCDF4.3.2-NC3-32.exe
00067 [r2]: http://www.unidata.ucar.edu/netcdf/win_netcdf/netCDF4.3.2-NC3-DAP-32.exe
00068 [r3]: http://www.unidata.ucar.edu/netcdf/win_netcdf/netCDF4.3.2-NC4-32.exe
00069 [r4]: http://www.unidata.ucar.edu/netcdf/win_netcdf/netCDF4.3.2-NC4-DAP-32.exe
00070 [r5]: http://www.unidata.ucar.edu/netcdf/win_netcdf/netCDF4.3.2-NC3-64.exe
00071 [r6]: http://www.unidata.ucar.edu/netcdf/win_netcdf/netCDF4.3.2-NC3-DAP-64.exe
00072 [r7]: http://www.unidata.ucar.edu/netcdf/win_netcdf/netCDF4.3.2-NC4-64.exe
00073 [r8]: http://www.unidata.ucar.edu/netcdf/win_netcdf/netCDF4.3.2-NC4-DAP-64.exe
00074 
00075 
00076 [rc1]: http://www.unidata.ucar.edu/netcdf/win_netcdf/netCDF4.3.2-rc2-NC3-32.exe
00077 [rc2]: http://www.unidata.ucar.edu/netcdf/win_netcdf/netCDF4.3.2-rc2-NC3-DAP-32.exe
00078 [rc3]: http://www.unidata.ucar.edu/netcdf/win_netcdf/netCDF4.3.2-rc2-NC4-32.exe
00079 [rc4]: http://www.unidata.ucar.edu/netcdf/win_netcdf/netCDF4.3.2-rc2-NC4-DAP-32.exe
00080 [rc6]: http://www.unidata.ucar.edu/netcdf/win_netcdf/netCDF4.3.2-rc2-NC3-64.exe
00081 [rc6]: http://www.unidata.ucar.edu/netcdf/win_netcdf/netCDF4.3.2-rc2-NC3-DAP-64.exe
00082 [rc7]: http://www.unidata.ucar.edu/netcdf/win_netcdf/netCDF4.3.2-rc2-NC4-64.exe
00083 [rc8]: http://www.unidata.ucar.edu/netcdf/win_netcdf/netCDF4.3.2-rc2-NC4-DAP-64.exe
 All Data Structures Files Functions Variables Typedefs Defines