NetCDF  4.3.2
 All Data Structures Files Functions Variables Typedefs Macros Modules Pages
windows-binaries.md
1 Installing and Using netCDF-C Libraries in Windows {#winbin}
2 ==================================================
3 
4 \brief NetCDF-C Libraries in a Windows Environment may be used under multiple sets of circumstances.
5 
6 \tableofcontents
7 
8 There are several development environments available for programmers who develop on Windows.
9 
10 * `Microsoft Visual Studio `
11 * `MSYS/MinGW`
12 * `Cygwin`
13 
14 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.
15 
16 For developers using `MSYS/MinGW` or `Cygwin`, you may build netCDF-C using the Linux/Unix build instructions.
17 
18 > 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.
19 
20 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
21 
22 # Getting pre-built netCDF-C Libraries for Visual Studio
23 
24 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.
25 
26 ## Latest Stable Release (netCDF-C 4.3.2)
27 
28 Configuration | 32-bit | 64-bit |
29 :-------------------|:-------- |:-------|
30 netCDF 3 | [netCDF4.3.2-NC3-32.exe][r1] | [netCDF4.3.2-NC3-64.exe][r5]
31 netCDF3+DAP | [netCDF4.3.2-NC3-DAP-32.exe][r2] | [netCDF4.3.2-NC3-DAP-64.exe][r6]
32 netCDF4 | [netCDF4.3.2-NC4-32.exe][r3] | [netCDF4.3.2-NC4-64.exe][r7]
33 netCDF4+DAP | [netCDF4.3.2-NC4-DAP-32.exe][r4] | [netCDF4.3.2-NC4-DAP-64.exe][r8]
34 
35 
36 
37 ## Latest Release Candidate (netCDF-C 4.3.2-rc2)
38 
39 *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!**
40 
41 Configuration | 32-bit | 64-bit |
42 :-------------------|:-------- |:-------|
43 netCDF 3 | [netCDF4.3.2-rc2-NC3-32.exe][rc1] | [netCDF4.3.2-rc2-NC3-64.exe][rc6]
44 netCDF3+DAP | [netCDF4.3.2-rc2-NC3-DAP-32.exe][rc2] | [netCDF4.3.2-rc2-NC3-DAP-64.exe][rc6]
45 netCDF4 | [netCDF4.3.2-rc2-NC4-32.exe][rc3] | [netCDF4.3.2-rc2-NC4-64.exe][rc7]
46 netCDF4+DAP | [netCDF4.3.2-rc2-NC4-DAP-32.exe][rc4] | [netCDF4.3.2-rc2-NC4-DAP-64.exe][rc8]
47 
48 # Using the netCDF-C Libraries with Visual Studio
49 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.
50 
51 ## Install Hierarchy
52 
53 When installed, the netCDF libraries are placed in the specified locations, along with the netCDF-C utilities and dependencies.
54 
55 <center>
56 <IMG SRC="InstallTreeWindows.png" width="1000"/>
57 </center>
58 
59 # Notes
60 
61 *The following points should be considered when using the netCDF-C libraries on Windows.*
62 
63 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]
64 
65 
66 [r1]: http://www.unidata.ucar.edu/netcdf/win_netcdf/netCDF4.3.2-NC3-32.exe
67 [r2]: http://www.unidata.ucar.edu/netcdf/win_netcdf/netCDF4.3.2-NC3-DAP-32.exe
68 [r3]: http://www.unidata.ucar.edu/netcdf/win_netcdf/netCDF4.3.2-NC4-32.exe
69 [r4]: http://www.unidata.ucar.edu/netcdf/win_netcdf/netCDF4.3.2-NC4-DAP-32.exe
70 [r5]: http://www.unidata.ucar.edu/netcdf/win_netcdf/netCDF4.3.2-NC3-64.exe
71 [r6]: http://www.unidata.ucar.edu/netcdf/win_netcdf/netCDF4.3.2-NC3-DAP-64.exe
72 [r7]: http://www.unidata.ucar.edu/netcdf/win_netcdf/netCDF4.3.2-NC4-64.exe
73 [r8]: http://www.unidata.ucar.edu/netcdf/win_netcdf/netCDF4.3.2-NC4-DAP-64.exe
74 
75 
76 [rc1]: http://www.unidata.ucar.edu/netcdf/win_netcdf/netCDF4.3.2-rc2-NC3-32.exe
77 [rc2]: http://www.unidata.ucar.edu/netcdf/win_netcdf/netCDF4.3.2-rc2-NC3-DAP-32.exe
78 [rc3]: http://www.unidata.ucar.edu/netcdf/win_netcdf/netCDF4.3.2-rc2-NC4-32.exe
79 [rc4]: http://www.unidata.ucar.edu/netcdf/win_netcdf/netCDF4.3.2-rc2-NC4-DAP-32.exe
80 [rc6]: http://www.unidata.ucar.edu/netcdf/win_netcdf/netCDF4.3.2-rc2-NC3-64.exe
81 [rc6]: http://www.unidata.ucar.edu/netcdf/win_netcdf/netCDF4.3.2-rc2-NC3-DAP-64.exe
82 [rc7]: http://www.unidata.ucar.edu/netcdf/win_netcdf/netCDF4.3.2-rc2-NC4-64.exe
83 [rc8]: http://www.unidata.ucar.edu/netcdf/win_netcdf/netCDF4.3.2-rc2-NC4-DAP-64.exe

Return to the Main Unidata NetCDF page.
Generated on Sun Nov 23 2014 16:24:54 for NetCDF. NetCDF is a Unidata library.