File: README.txt

package info (click to toggle)
kst 2.0.3-1.3
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 22,068 kB
  • sloc: cpp: 83,792; ansic: 12,144; sh: 501; yacc: 184; lex: 143; perl: 30; makefile: 23
file content (27 lines) | stat: -rw-r--r-- 1,002 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
This folder contains files needed for building netCDF on Windows.
(netCDF 3 only, no HDF5 support)

Build instructions:

- Get netCDF source code from http://www.unidata.ucar.edu/software/netcdf/
  (latest tested release: 4.1.1, 2010/05) 

- Extract netCDF sources, eg. c:\netcdf-sources
- Copy this netcdf-windows folder into the netCDF sources, eg. c:\netcdf-sources\netcdf-windows
- Make a build folder, eg. c:\netcdf-build

- Build netCDF in this folder with CMake (http://www.cmake.org):
  * cd c:\netcdf-build
  * MSVC : cmake ..\netcdf-sources\netcdf-windows -G"Visual Studio 9 2008" 
    MinGW: cmake ..\netcdf-sources\netcdf-windows -G"MinGW Makefiles"
  * MSVC : build and install (build INSTALL project) with Visual Studio
    MinGW: mingw32-make & mingw32-make install

- Set environment variable NETCDFDIR to 'installed' folder:
    set NETCDFDIR=c:\netcdf-build\installed
   
- qmake will detect netCDF and enables netCDF on Windows.


TODO: Do real checks for config.h, no HDF5 support