netCDF  4.3.0
 All Data Structures Files Functions Variables Typedefs Macros Groups Pages
windows-binaries.md
1 \page winbin Installing and Using netCDF-C Libraries in a Windows Environment
2 
3 There are several development environments available for programmers who develop on Windows.
4 
5 * Microsoft Visual Studio
6 * MSYS/MinGW
7 * Cygwin
8 
9 For the latter two, the Linux/Unix build instructions may be used. For the former build environment, you may download using the Windows build instructions, or you may download the pre-built netCDF-C libraries from this page.
10 
11 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
12 
13 # Getting pre-built netCDF-C Libraries for Visual Studio
14 
15 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.
16 
17 Configuration | 32-bit | 64-bit |
18 :-------------------|:-------- |:-------|
19 netCDF 3 | [netCDF4.3.0-NC3-32.exe][1] | [netCDF4.3.0-NC3-64.exe][5]
20 netCDF3+DAP | [netCDF4.3.0-NC3-DAP-32.exe][2] | [netCDF4.3.0-NC3-DAP-64.exe][6]
21 netCDF4 | [netCDF4.3.0-NC4-32.exe][3] | [netCDF4.3.0-NC4-64.exe][7]
22 netCDF4+DAP | [netCDF4.3.0-NC4-DAP-32.exe][4] | [netCDF4.3.0-NC4-DAP-64.exe][8]
23 
24 # Using the netCDF-C Libraries with Visual Studio
25 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.
26 
27 ## Install Hierarchy
28 
29 When installed, the netCDF libraries are placed in the specified locations, along with the netCDF-C utilities and
30 
31 <center>
32 <IMG SRC="InstallTreeWindows.jpg" />
33 </center>
34 
35 # Notes
36 
37 *The following points should be considered when using the netCDF-C libraries on Windows.*
38 
39 1. Currently, 64-bit offset large file support is only available when using the 64-bit libraries. [NCF-219]
40 2. 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]
41 
42 Both of these issues are being actively worked on. The may be tracked in the Unidata JIRA system at <http://bugtracking.unidata.ucar.edu/>, using the provided JIRA identifiers.
43 
44 [1]: http://www.unidata.ucar.edu/netcdf/win_netcdf/netCDF4.3.0-NC3-32.exe
45 [2]: http://www.unidata.ucar.edu/netcdf/win_netcdf/netCDF4.3.0-NC3-DAP-32.exe
46 [3]: http://www.unidata.ucar.edu/netcdf/win_netcdf/netCDF4.3.0-NC4-32.exe
47 [4]: http://www.unidata.ucar.edu/netcdf/win_netcdf/netCDF4.3.0-NC4-DAP-32.exe
48 [5]: http://www.unidata.ucar.edu/netcdf/win_netcdf/netCDF4.3.0-NC3-64.exe
49 [6]: http://www.unidata.ucar.edu/netcdf/win_netcdf/netCDF4.3.0-NC3-DAP-64.exe
50 [7]: http://www.unidata.ucar.edu/netcdf/win_netcdf/netCDF4.3.0-NC4-64.exe
51 [8]: http://www.unidata.ucar.edu/netcdf/win_netcdf/netCDF4.3.0-NC4-DAP-64.exe

Generated on Tue Jul 9 2013 19:18:06 for netCDF. NetCDF is a Unidata library.