- To: <netcdf-porting@xxxxxxxxxxxxxxxx>
- Subject: [netcdf-porting] 64 bit MinGW doesn't find onstack.h (netcdf-4.2.1.1)
- From: <sisyphus1@xxxxxxxxxxxxxxx>
- Date: Fri, 8 Mar 2013 12:55:25 +1100
Hi,I built netcdf-4.2.1.1 on Windows 7, in the msys shell, with ./configure .... .
With x64 MinGW (gcc-4.7.0), libdispatch/dvi2.c wants to # include "onstack.h".
Copying onstack.h from the libsrc folder to the libdispatch folder fixed the problem. (It may be that onstack.h can even be removed from the libsrc folder - I didn't check.)
Cheers,Rob