NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
NightStrike <nightstrike@xxxxxxxxx> writes: > I am trying to compile netcdf with Mingw-w64. I use the following: > > ../configure --prefix=/home/NightStrike/netcdf --host=x86_64-w64-mingw32 > > > It dies with this: > > ../../libsrc/v2i.c: In function `nvdims': > ../../libsrc/v2i.c:39:2: error: `NC' undeclared (first use in this function) > ../../libsrc/v2i.c:39:2: note: each undeclared identifier is reported > only once for each function it appears in > ../../libsrc/v2i.c:39:6: error: `ncp' undeclared (first use in this function) > ../../libsrc/v2i.c:43:16: error: expected `=', `,', `;', `asm' or > `__attribute__' before `*' token > ../../libsrc/v2i.c:43:17: error: expected expression before `const' > ../../libsrc/v2i.c:44:6: error: `varp' undeclared (first use in this function) > make[2]: *** [v2i.lo] Error 1 > > Any suggestions? > Try configuring with --disable-v2. Ed -- Ed Hartnett -- ed@xxxxxxxxxxxxxxxx
netcdfgroup
archives: