Hi,
I downloaded and installed both `32bit` and `64bit` libraries from
http://www.unidata.ucar.edu/software/netcdf/docs/winbin.html.
And here is the minimum code (`test.c`) to reproduce the error:
```c++
#include <netcdf.h>
void main(){
int ncid;
int retval = nc_create("foo.nc", NC_NETCDF4, &ncid);
}
```
`32bit` version successfully runs and creates `foo.nc` file
```bash
gcc -m32 test.c -I/c:/netcdf4/i386/include -L/c:/netcdf4/i386/lib -lnetcdf
```
but `64bit` version crashes.
```bash
gcc -m64 test.c -I/c:/netcdf4/x84/include -L/c:/netcdf4/x64/lib -lnetcdf
```
Thanks,
Mike